Setup.log

InstallShield DevStudio

Setup.log is the default name for the silent setup log file—generated when the user runs Setup.exe with the /s argument—and it is by default created in the directory containing the response file Setup.iss. You can specify a different name and location for Setup.log using the /f1 and /f2 switches to Setup.exe.

The Setup.log file contains three sections. The first section, [InstallShield Silent], identifies the version of InstallShield Silent used in the silent setup. 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 setup succeeded. An integer value is assigned to the ResultCode keyname in the [ResponseResult] section. InstallShield DevStudio places one of the following return values in the ResultCode key:

Result Code Description
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 (.iss) file.
-9 Not a valid list type (string or number).
-10 Data type is invalid.
-11 Unknown error during setup.
-12 Dialog boxes are out of order.
-51 Cannot create the specified folder.
-52 Cannot access the specified file or folder.
-53 Invalid option selected.

The Setup.log file for a successful silent installation appears as follows:

[Application]
Name=Sample App 3000
Version=1.00.0000
Company=Sample Software Corporation
Lang=0409

[ResponseResult]
ResultCode=0

See Also