Precompression Event Dialog Box

InstallShield 2024

Edition:This information applies to the Premier edition of InstallShield.

The Precompression Event dialog box opens when you click the ellipsis button (...) in the Precompression Event setting. The Precompression Event setting is on the Events tab for a release in the Releases view.

Use the Precompression Event dialog box to specify one or more commands that you want to be run after InstallShield has built the .msi package and the .cab files (if your product’s data files are to be stored in .cab files). Note that this event occurs after .cab files are streamed into the .msi package, but before the .msi package has been digitally signed and streamed into the Setup.exe file.

To specify more than one command, enter each command on a separate line. At build time, InstallShield runs each command in the order that they are listed. The build waits until a command finishes before proceeding to the next one.

When you are entering a command, you can use any path variables and environment variables that are defined in your project, instead of using a hard-coded path. You can also use certain variables that are defined specifically for build event commands.

For more information, see Specifying Commands that Run Before, During, and After Builds.

See Also