Overview of InstallScript Log Files

InstallShield 2016

Project • This information applies to the following project types:

InstallScript
InstallScript MSI

Usually, an InstallScript log file is accessed only when your product is uninstalled or when an installation is aborted. Log files record the procedures that your installation performs when logging is enabled. These procedures may include the following:

General information on the product being installed, such as the product name.
The locations and values of an installed product’s registry keys.
Changes made to the system’s file structure, including the files that were transferred, the folders that were created, and shortcuts or icons that were created.
Information about the files that you added to your InstallShield project.

The name of the log file is setup.ilg. The installation creates it automatically at run time on a target system during normal file transfer. The default location for the log file is:

<PROGRAMFILES>\InstallShield Installation Information\{Product Code}

However, you can change the location by changing the value of the DISK1TARGET system variable before the Move Data event.

The InstallScript log file is a binary file. You can use the InstallShield Cabinet and Log File Viewer to see the contents of the log file.

Tip • Logging of procedures is enabled by default. You can disable and re-enable logging by calling the Disable( LOGGING ) and Enable( LOGGING ) functions in your InstallScript code. For more information, see Disable and Enable.

See Also