Access 97 Database File Panel

InstallShield 2012 Spring Express Edition

Provide the location of your Access 97 application (an .mdb file) and choose whether to create a shortcut for it.

Access 97 Database File Panel Settings

Setting

Description

Database

Enter the fully qualified path to the .mdb file as it is stored on the target system. Instead of hard-coding a path, you can select a Windows Installer folder property from the list.

For example, if you are installing MyApp.mdb to the destination folder [DATABASEDIR], then you can safely point to the following path as the location of your database:

[DATABASEDIR]MyApp.mdb

It is your responsibility to make sure that the database exists on the target system or a network location. The database file is not automatically added to your setup project when you enter its path into the Database field.

Create shortcut

Select this option to add a shortcut to your Access 97 database on the Programs menu. Since a shortcut must belong to a feature, after you complete the wizard a new shortcut named AccessShortcut is added to the Shortcuts/Folders view and associated with the same feature as the Access 97 object.

The shortcut is supplied with initial properties based on your settings in the Access 97 Object wizard. The most complex of these properties is the shortcut's argument; the following table explains how the command-line argument is constructed:

/runtime—This command-line parameter ensures the Access application is opened in run-time mode (as opposed to retail mode, which allows complete access to the database's tables).
[database]—[database] contains the fully qualified path to the .mdb file that you provided in the Database field (above).
/profile [profile name]—This parameter opens the database with the user profile you enter in the Additional Information panel.
/wrkgrp [file name]—This parameter instructs Access to use the specified workgroup information (.mdw) file.

See Also