This topic provides the steps necessary to use the installation
wizard and perform a silent installation.
About this task
Use these steps to perform a silent installation, which uses the
installation wizard to install the product. Instead of displaying a user interface,
the silent installation provides interaction between you and the wizard by
reading all of your responses from a file that you must customize.
Procedure
- Verify that the user ID that you are using
to run the silent installation has sufficient authority to perform the task.
- Customize the option response file.
- Locate the sample options response file. The file name is setup.response in
the operating system platform directory on the product CD-ROM.
- Make a copy to preserve the original response file. For example,
copy the file as myoptionsfile.
- Edit the copy in your flat file editor of choice, on the target
operating system. Read the directions within the response file to choose appropriate
values.
To prepare the file for a silent installation
on AIX, use UNIX line-end characters (0x0D0A) to terminate each line of the
options response file.
- Make a non-commented option to have a silent install.
- Include custom option responses that reflect parameters for
your system.
- Follow the instructions in the response file to choose appropriate
values.
- Save the file.
- Issue a command to use your custom response
file: Install.exe -options myoptionsfile for Windows
platforms and install -options ./myoptionsfile for Linux
and UNIX platforms.
The sample options response file is located in the operating-system platform directory
on the product CD-ROM.
- Issue the following command from a command prompt to update
your response file: -W silentInstallLicenseAcceptance.value="true' .
Issuing
this command indicates that you accept all IBM license terms associated with
this product, which is necessary for installing application clients.
- Optional: Restart your machine
in response to the prompt that appears on Windows platforms when the installation
is complete.
Results
You installed application clients silently by using the response file.
What to do next
To verify the silent
install, look for the string RC=INSTCONFSUCCESS in the log.txt file
for successful installation and RC=INSTCONFFAILED for a failed installation.
For UNIX platforms, the install command returns a return code of 1 to
indicate a successful installation. Any other return code means that the installation
failed.
The install command returns a return code
of 0 to indicate a successful installation, 1 to indicate failure
and 2 to indicate partial success. Any other return code means that
the installation failed.
When
the InstallShield for MultiPlatforms (ISMP) fails and the log.txt file is
not created, the error log file might have been created in the <client_install_root>/logs/log.txt
directory. To specify the location of the error log file, use the ISMP command
line option. See the following example: ./install -options setup.response
-log !d:\temp\log.txt.