Updated DAO Redistributable Components

ID: Q160554


The information in this article applies to:
  • Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.1, 4.2
  • Microsoft Visual C++, 32-bit Enterprise Edition, version 4.2


SUMMARY

The incorrect DAO redistributable components were shipped with Visual C++4.X.

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:

Daoredis.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

NOTE: Use the -d option when running Daoredis.exe to decompress the file and recreate the proper directory structure.


MORE INFORMATION

The DAO redistributable components provided with the Visual C++ CD-ROM are an incomplete version of the full DAO SDK. To redistribute DAO, you do not need the DAO SDK. This patch provides the correct setup script for redistributing just the DAO components.

Use the redistributable components provided with this patch in place of those in \MSDEV\REDIST\DAO directory on the Visual C++ 4.X CD-ROM.

DAOMIN.RUL and InstallShield

You can still use the DAOMIN.RUL file that ships with Visual C++ 4.X/DAO SDK to modify the setup process of the DAO components. The DAOMIN.RUL file can be found after a typical installation in the C:\MSDEV\DAOSDK\SETUP directory.

You will need the InstallShield SDK, which is installed from the master- setup from both Visual C++ 4.0 and 4.1. However, with the release of Visual C++ 4.2, the master setup only installs the InstallShield Express. InstallShield Express will not work with DAOMIN.RUL and cannot be used to modify or compile it.

InstallShield and Visual C++ 4.2

Visual C++ 4.2 users will need to follow these steps to modify and compile the DAOMIN.RUL file.

  1. Install the InstallShield SDK from Visual C++ 4.1 (or 4.0) from the main setup program.


  2. From the Visual C++ 4.2 CD-ROM, run the update/patch to the InstallShield SDK from: \IShield\SDK\SetupEx.exe.


Silent Install and Log File

On a silent install of the DAO 3.0 components, -12 will be incorrectly reported in the setup log file. This code indicates an error occurred, but in fact is incorrect.

You can run a silent install using the -s switch. You can specify the creation of a log file using -F2<file path>. Normally, the log file would be stored in the same path as SETUP.EXE. However, on a CD-ROM, this means that no log file would be created.


REFERENCES

Q143292 Information on Redistributing DAO Components with DAO Apps

Q151426 How to Create a DAO Setup that Installs Jet IISAM Files

Additional query words:

Keywords : kbfile kbprg kbDAO kbDatabase kbMFC kbVC
Version : WINDOWS:4.2; winnt:4.0,4.1,4.2
Platform : WINDOWS winnt
Issue type :


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.