The information in this article applies to:
SUMMARYThe redistribution for Microsoft Data Access Components (MDAC) version 2.x is essentially a setup program encapsulated within another setup program. The outer setup provides a single .exe which, when run, extracts the contents needed for the inner setup and then invoke the setup. Subsequently, to control the behavior of the redistribution, you need to invoke it with command line switches that control both inner and outer setups. For example, this article explains how to invoke a silent install, or even to suppress the restart that would otherwise occur when the inner setup concludes running. MORE INFORMATIONThe following samples apply to any of the MDAC redistribution programs for versions 2.0 or 2.1 SP2:
To make the MDAC redistribution run unattended you use the "/Q" command. By
default, this passes on "/Q" to the inner setup. If you want to change the
inner setup options, you override the default command by using the outer
setups /c: option.
The tips in this article do not apply to the Data Access 2.x SDK setup. The installation of Microsoft Data Access Components (MDAC) writes to the RunOnce registry key, which usually means that the computer must be restarted for the installation to complete. To have an unattended installation that does NOT automatically restart, you can use the following command:
This runs the inner setup in unattended mode and is not automatically
rebooted. If you really want a minimalist user interface (UI), you can use
the following command:
To extract the inner setup into a directory, you would use the following
command:
Outer Setup Command Line OptionsYou can determine the command line options of the outer setup through the following statement:Command line options for the outer setup include:
After extracting the inner setup to a temporary directory, you can use the
following command to extract the command line options:
Command line options for the inner setup include the following:
REFERENCESFor more information, please look at the following Web site: http://www.microsoft.com/Data/MDAC21Info/MDACinstQ.htm Additional query words: kbDatabase kbSDKDataAc kbSetup kbMDAC
Keywords : kbMDAC kbGrpVBDB kbGrpMDAC kbDSupport kbMDAC210SP2 |
Last Reviewed: February 1, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |