AddSuitePackage Method (Advanced UI and Suite/Advanced UI)

InstallShield 2019 » Automation Interface » Advanced UI and Suite/Advanced UI

Project • This information applies to the following project types:

Advanced UI
Suite/Advanced UI

Project-specific differences are noted where applicable.

Edition • The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.

The AddSuitePackage method adds a package (such as an .msi package, an InstallScript package, an .exe package, or other supported type) along with the specified target file and options for adding additional files. Using this method is similar to adding a package in the Packages view in InstallShield. You can set the properties of the new package with the ISWiSuitePackage object.

Syntax

AddSuitePackage (PackageType As ISWiSuitePackageType, TargetFileName As String, AdditionalFiles As ISWiAdditionalFiles) As ISWiSuitePackage

Parameters

AddSuitePackage Method Parameters

Parameter

Description

PackageType

Specify the type of package that you are adding to the project.

The following project types are available in Advanced UI and Suite/Advanced UI projects:

esptMsi (1)—Windows Installer package (.msi)
esptMsp (2)—Windows Installer patch (.msp)
esptIsp (4)—InstallScript package

The following project types are available only in Suite/Advanced UI projects:

esptTransaction (-1)—Windows Installer transaction. This package type is available in Suite/Advanced UI projects.
esptExe (3)—executable package (.exe). This package type is available in Suite/Advanced UI projects.
esptIsmMsi (5)—Basic MSI project (.ism)
esptIsmIsp (6)—InstallScript project (.ism)
esptAppx (7)—Sideloading Windows App package (.appx)
esptWebDeploy (8)—Web Deploy package (.zip)

TargetFileName

Specify the file in the package (such as the .msi file) that the Advanced UI or Suite/Advanced UI installation should invoke.

AdditionalFiles

Specify the type of additional files that you want to add for the package. Available options are:

eaftNothing (0)—Add nothing. This package does not need any additional files.
eaftAdjacentFiles (1)—Add adjacent files; that is, add the files next to this package.
eaftSubFolders (2)—Add files in subfolders; that is, add the files below this package.
eaftAdjacentFilesAndSubFolders (3)—Add adjacent files and files in subfolders; that is, add the files next to and below this package.

Applies To

ISWiProject