SonicWALL none Network Card User Manual


 
Page 48 SonicWALL Global VPN Client 4.0 Administrator’s Guide
Playing Back the Silent Installation
After you have created the installation and the response file, you are ready to run the Global VPN Client
installation in silent mode. When running an installation in silent mode, be aware that no messages are
displayed. Instead, a log file Setup.log captures installation information, including whether the installation
was successful. You can review the log file and determine the result of the installation.
To launch the silent setup, run setup with the -s command line parameter:
Setup.exe –s
By default, setup looks for the response file in its default location (normally Disk1 or the same folder as
Setup.ins). You can specify a different response file using the -f1 command line parameter:
Setup.exe –s –f1<path\ResponseFile>
To verify if a silent installation succeeded, look at the ResultCode value in the [ResponseResult] section
of Setup.log. InstallShield writes an appropriate return value after the ResultCode keyname.
Using Setup.log to Check for Errors
Setup.log is the default name for the silent installation log file, and its default location is Disk1 (in the same
folder as Setup.ins). You can specify a different name and location for the setup log file using the -f2
command line parameter:
Setup.exe –s –f2<path\LogFile>
The Setup.log file contains three sections:
The first section, [InstallShield Silent], identifies the version of InstallShield Silent used in the silent
installation. It also identifies the file as a log file.
The second section, [Application], identifies the installed application's name and version, and the
company name.
The third section, [ResponseResult], contains the result code indicating whether or not the silent
installation succeeded. An integer value is assigned to the ResultCode keyname in the
[ResponseResult] section. The silent setup places one of the following return values after the
ResultCode keyname:
0 Success
-1 General error
-2 Invalid mode
-3 Required data not found in the
Setup.iss file
-4 Not enough memory available
-5 File does not exist
-6 Cannot write to the response file
-7 Unable to write to the log file
-8 Invalid path to the InstallShield
Silent response file
-9 Not a valid list type (string or
number)
-10 Data type is invalid.