DB2 graphic  QMF Version 8

Customizing setup.ini

The setup.ini file is a text file that controls the installation process. You can edit this file using a text editor (such as Notepad). The default contents of this file are similar to:

[Startup]
AppName=QMF for Windows 8.1
FreeDiskSpace=481

You should not modify the contents of the [Startup] section, but you can add three sections, [Options], [Components], and [Shortcuts].

[Options] section

The [Options] section contains settings that pre-select various options in the installation wizard. Settings in the [Components] section pre-select components to install. settings in the [Shortcuts] section control whether and how to create the various program folder shortcuts.

Table 6. [Options] Section
Setting Description
AutoInstall=0 or 1 Specifies how the installation wizard should behave. Value can be 0 (display all pages as usual) or 1 (suppress display of pages and perform installation automatically). Default value is 0.
SetupType=0 or 1 or 2 Controls the type of setup to perform. Value can be 0 (typical), 1 (compact), or 2 (custom). Default value is 0. Used only if AutoInstall=1.
InstallPath=<folder> Specifies the folder in which to install the product. There is no default value. Used only if AutoInstall=1.
ProgramGroup=<program-folder> Specifies the program folder in which to create shortcuts to start QMF for Windows. There is no default value. Used only if AutoInstall=1.
AutoExit=0 or 1 Specifies whether or not the installation wizard should exit automatically after installation. Value can be 0 (display a completion page when the installation is finished) or 1 (exit automatically when the installation is finished). Default value is 0. Used only if AutoInstall=1.
FileServerInstall=0 or 1 Specifies whether or not the installation wizard should perform a file server installation. Value can be 0 (perform a normal installation) or 1 (perform a file server installation). See File server installation for more information about file server installations.

[Components] section

Settings in the [Components] section pre-select components to install. The [Components] section is used only if the SetupType value in the [Options] section is set to 2 (for a custom setup type).

Table 7. [Components] Section
Setting Description
Spatial=0 or 1 Specifies whether to install the Spatial Data Support component. Value can be 0 (do not install) or 1 (install). Default value is 1.
Excel=0 or 1 Specifies whether to install the Microsoft Excel Add-In component. Value can be 0 (do not install) or 1 (install). Default value is 1.
L123=0 or 1 Specifies whether to install the Lotus 1-2-3 Add-In component. Value can be 0 (do not install) or 1 (install). Default value is 1.
ReportCenter=0 or 1 Specifies whether to install the Report Center component. Value can be 0 (do not install) or 1 (install). Default value is 1.
Admin=0 or 1 Specifies whether to install the Administrator Program Files component. Value can be 0 (do not install) or 1 (install). Default value is 1.

[Shortcuts] section

Settings in the [Shortcuts] section control whether and how to create the various program folder shortcuts.

Table 8. [Shortcuts] Section
Setting Description
Common=0 or 1 Specifies whether program folder shortcuts should be created for the current user only or for all users. Value can be 0 (current user only) or 1 (all users). Default value is 0.
Main=0 or 1 Specifies whether to create a shortcut to start QMF for Windows. Value can be 0 (no) or 1 (yes). Default value is 1.
MainWorkingDir=<folder> Specifies the initial working folder to specify when creating the shortcut to start QMF for Windows. Default value is empty.
ReportCenter=0 or 1 Specifies whether to create a shortcut to start Report Center. Value can be 0 (no) or 1 (yes). Default value is 1.
ReportCenter WorkingDir=<folder> Specifies the initial working folder to specify when creating the shortcut to start Report Center. Default value is empty.
Admin=0 or 1 Specifies whether to create a shortcut to start QMF for Windows Administrator. Value can be 0 (no) or 1 (yes). Default value is 1.
AdminWorkingDir=<folder> Specifies the initial working folder to specify when creating the shortcut to start QMF for Windows Administrator. Default value is empty.
UserHelp=0 or 1 Specifies whether to create a shortcut to start QMF for Windows help. Value can be 0 (no) or 1 (yes). Default value is 1.
ReportCenterHelp=0 or 1 Specifies whether to create a shortcut to start Report Center help. Value can be 0 (no) or 1 (yes). Default value is 1.
AdminHelp=0 or 1 Specifies whether to create a shortcut to start QMF for Windows Administrator help. Value can be 0 (no) or 1 (yes). Default value is 1.
APIHelp=0 or 1 Specifies whether to create a shortcut to start QMF for Windows API help. Value can be 0 (no) or 1 (yes). Default value is 1.
ReadMe=0 or 1 Specifies whether to create a shortcut to view the QMF for Windows readme.txt file. Value can be 0 (no) or 1 (yes). Default value is 1.
WhatsNew=0 or 1 Specifies whether to create a shortcut to view the What's New help. Value can be 0 (no) or 1 (yes). Default value is 1.
ResourceCenter=0 or 1 Specifies whether to create a shortcut to visit the QMF for Windows Resource on the Web site. Value can be 0 (no) or 1 (yes). Default value is 1.
Uninstall=0 or 1 Specifies whether to create a shortcut to uninstall QMF for WIndows. Value can be 0 (no) or 1 (yes). Default value is 1.

Settings for unattended installation

You can make the installation process unattended, meaning that it requires no input from a user during the installation. To perform an unattended installation, set both AutoInstall and AutoExit in the [Options] section to 1. Note that when you set AutoInstall to 1, you must also set InstallPath and ProgramGroup.

Applying the changes

After you have finished editing the setup.ini file, save the modified file in its original location in the installation files. Now, when running setup.exe from these files, the custom options you specified in setup.ini will take effect.


Go to the previous page Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004
timestamp Last updated: March, 2004