DAO 3.0 installation program for MapObjects 1.2
DAO 3.0 installation program included on the MapObjects 1.2Description
Using the DAO30.EXE program
MapObjects 1.x is based on MFC 4.x and MFC uses DAO 3.0, hence MapObjects applications also require DAO 3.0. DAO 3.0 and DAO 3.5 will peacefully coexist, so if your application uses DAO 3.5 for other things, it won't harm anything for your application's setup program to install both DAO 3.0 and DAO 3.5.
You can use this program to install DAO 3.0 on your computer, or if you want to distribute DAO 3.0 with your MapObjects applications, you can call this program from your application's installation program to install DAO.
There are several ways to use the DAO30.EXE program, based on the command line parameters supplied, as follows:
Standard installation. Use this to install DAO 3.0 on your computer. You will be prompted to select the components you want to install.
Default components. This defines the default components that will be installed. If used interactively, this is what will be selected when the user is presented with the components dialog. If used non-interactively (/ni or /s), the user will not be presented with a components dialog and the components that /d= defines as listed below will be installed.
/d= is not case-sensitive, but the components are. Upper-case letters will select components, while lower-case letters will disable selections. For example, /d=AbCc will have the following effect:
Note: /d=<list> may appear anywhere on the command line. If using non-interactively (/ni or /s), it won't make sense to disable selections.
Non-Interactive. Use this on the command line to make the process non-interactive. Users will not be prompted for components to install. If default components (/d=) are not defined on the command line, all DAO 3.0 components will be installed. Even though the process is non-interactive, a progress bar is displayed as files are installed.
Note: /ni is not case-sensitive and may appear anywhere on the command line.
No Registration message. Use this on the command line if you don't want a message displayed while DAO components are being registered. You may want to do this if your installation displays a message while components are being registered and you don't want a second registration message displayed. No registration message is displayed during silent (/s) installations.
Note: /nr is not case-sensitive and may appear anywhere on the command line.
Completely silent. Nothing will be displayed during installation. If default components (/d=) are not defined on the command line, all DAO components will be installed. The difference between /s and /ni is that using /ni displays a progress bar as files are installed and a registration message as files are being registered. You may want to use /s if your application's setup program displays its own dialog while DAO is being installed. If you use /s and either /ni or /nr or both, /s will override them and nothing will be displayed.
Note: /s is not case-sensitive but must appear first on the command line or the process will not be silent. Example: dao30.exe /s /d=ABC
Default components passed using /d= on the command line:
- A - DAO 3.0
- B - Microsoft Jet (Access 2.0 / VB 3.0 support)
- C - Xbase formats
- D - Paradox formats
- E - Text file formats
- F - Spreadsheet file formats
FYI: The MapObjects 1.2 setup program (on the MapObjects 1.2 CD) calls DAO30.EXE to install DAO 3.0 components A, B and C non-interactively. This is how it is called:
DAO30.EXE /d=ABC /niSupporting Files :