Create a script to install Installation Manager and a package silently at the same time
You can silently install IBM Installation Manager at the same time you install a product package. To silently install Installation Manager and a product package, you can create a script to run both installations. You can also edit a response file to install Installation Manager and a product instead of using a script. See Modify a response file to install a package and Installation Manager .
To silently install a product package, you must first create a response file .
The script to install Installation Manager and a product package contains two lines. The first line is the command to start the Installation Manager installation. The second line is the command to start the silent installation of a product package.
Procedure
To create a script:
Example scripts for versions 1.4.3 and later:
- A .bat file for Microsoft Windows:
installc installc input responseFile.xml -acceptLicense- A C shell script file for Linux, UNIX and z/OS and a Qshell script for IBM i:
./installc ./installc input responseFile.xml -acceptLicenseWhere the responseFile.xml is the response file for the product package.
Starting with version 1.4.3 do not use --launcher.ini .ini file as this command option has been deprecated.
Example
Include quotation marks around filepaths that have spaces.
Operating system Script (without response file) Script (with response file) Windows (.bat file) installc.exe -acceptLicense installc.exe input responseFile.xml -acceptLicense Linux, UNIX and z/OS (C shell script file) IBM i (Qshell script)
./installc -acceptLicense ./install input responseFile.xml -acceptLicense
See
Related tasks
Modify a response file to install a package and Installation Manager