PATCH: Updated DAO Redistributable Components

Last reviewed: July 31, 1997
Article ID: Q160554
The information in this article applies to:
  • Microsoft Visual C++, 32-bit Edition, versions 4.0, 4.1, 4.2
  • Microsoft Visual C++, Enterprise Edition, version 4.2

SUMMARY

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

The following file is available for download from the Microsoft Software Library:

 ~ Daoredis.exe (size: 2342311 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

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

   ARTICLE-ID: Q143292
   TITLE     : Information on Redistributing DAO Components with DAO Apps

   ARTICLE-ID: Q151426
   TITLE     : How to Create a DAO Setup that Installs Jet IISAM Files
Keywords          : dbDao MfcDAO kbfile kbprg
Version           : 4.0 4.1 4.2
Platform          : NT WINDOWS
Solution Type     : kbpatch


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 31, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.