SignMedia Property

InstallShield 2022 » Automation Interface

Project:This information applies to the following project types:

Basic MSI
InstallScript
InstallScript MSI
Merge Module

Project-specific differences are noted where appropriate.

The ISWiRelease.SignMedia property enables you to indicate whether to digitally sign your media, and if so, which files should be signed.

The following table lists the four states that can be assigned or retrieved from the ISWiRelease.SignMedia property.

ISWiRelease.SignMedia Property Values

Return Value

Type

Description

esBoth (3)

Read-Write Property

For Basic MSI and InstallScript MSI projects: Sign the Windows Installer package (.msi file) and Setup.exe.

For InstallScript projects: Sign both the media header file (Data1.hdr) and Setup.exe.

esMsi (2)

Read-Write Property

For Basic MSI, InstallScript MSI, and Merge Module projects: Digitally sign only the Windows Installer package (.msi file or .msm file).

For InstallScript projects: Sign the media header file (Data1.hdr).

esNone (4)

Read-Write Property

For Basic MSI, InstallScript, and InstallScript MSI projects: None of the media files (Setup.exe, Windows Installer package, or the header file) are signed at build time.

esSetupExe (1)

Read-Write Property

For Basic MSI, InstallScript, and InstallScript MSI projects: Digitally sign only Setup.exe.

Applies To

ISWiRelease Object