InstallScript Functions that Are Logged for Uninstallation

InstallShield 2012 Spring

Project: This information applies to the following project types:

InstallScript
InstallScript MSI —if the InstallScript user interface (UI) style is the traditional style (which uses the InstallScript engine as an external UI handler)

This information does not apply to InstallScript MSI projects in which the InstallScript UI style is the new style (which uses the InstallScript engine as an embedded UI handler). To learn more, see Using the InstallScript Engine as an External vs. Embedded UI Handler for InstallScript MSI Installations.

In general, if logging is enabled, all of the files, folders, registry entries, .ini file entries, shortcuts, shortcut folders, and services that are created or replaced while logging is enabled are logged for uninstallation. In addition, all of the InstallScript functions that make changes to the target system during InstallScript installations and InstallScript MSI installations are logged for uninstallation. Following are some common examples of functions that an installation logs for uninstallation by default:

AddFolderIcon
AddProfString
CopyFile
CreateInstallationInfo
CreateProgramFolder
FeatureMoveData
FeatureTransferData
RegDBSetAppInfo
RegDBSetItem
ReplaceProfString
ServiceAddService
ServiceStartService
VerSearchAndUpdateFile
VerUpdateFile
WriteProfString
XCopyFile

You can disable and re-enable logging by calling Disable (LOGGING); and Enable (LOGGING); in your InstallScript code. For more information, see Disable and Enable.

See Also