Details about installing legacy
setup applications:
Creating InstallShield Response
Files or Answer
Files
ISS file – Install Shield Silence (Response)File
Installshield
Setup.exe allows creating a Response file.
use your custom
installation to install these resources without user interaction.
The high-level process for creating custom installation for
InstallShield images is as follows:
●
To record a silent InstallShield installation,
run the setup -r command.
●
To play back a silent InstallShield
installation, run the setup -s command.
Recording the Response File
- Change to the directory containing the setup script.
- Run the following command:
3. setup
-r -f1my_response_file.iss
where my_response_file is any name you
want to use.
For example, to create a response file for endpoint installation, you
can call it endpoint.iss and store it in the c:\tivoli\endpoint\ directory. In this case, enter:
setup -r
-f1c:\tivoli\endpoint\endpoint.iss
- Complete the setup windows, actually completing a normal
installation. The response file records all the setting specified.
Note:
There is also an -f2 option
that is used to designate the location of the InstallShield log file. The
InstallShield log file is created during the installation process. If no
location is specified, the InstallShield log file is written to the same
location as the response file.
Playing Back a Response File
After you have created your response
file, you can run the installation.
All messages are written to the log file.
Review this log file to determine the results of the installation.
PathOfExe
-s -f1response_file_path\endpoint.iss –f2PathOfLogFile
-r : record configuration settings
in iss file
-s: silently install
-f1: The /f1filename switch allows you to specify a fully-qualified
alternate name for the setup.iss file.
If parameter not applied, it saves
as a default name, setup.iss
-f2: specifies the path of log
file. If not declared, it by default saves as setup.log
Unfortunately, the installer will fork a separate process
and exit, meaning it will return immediately
-SMS
Prevents
a network connection and Setup.exe from closing before the setup is complete.
Please note that SMS must be uppercase; this is a case-sensitive switch.
Note: no space after –f1 or after
–f2
If
setup.iss is in the same folder as setup.exe you can just skip the /f1 switch
entirely!
/f1
switch actually IS necessary if you named the iss file anything other than
setup.iss
Many packages have "custom dialogs" which are
not supported by setup.iss, which means the dialogs will always appear no matter
what you do.
When using long path and filename expressions with
switches, enclose the expressions in double quotation marks. The enclosing
double quotes tell the operating system that spaces within the quotation marks
are not to be treated as command line delimiters.
Comments
Post a Comment