Advertisement Sequence

InstallShield 2015

Project: This information applies to the following project types:

Basic MSI
InstallScript MSI
MSI Database
Transform

The Advertisement sequence is the list of actions that occur when an end user launches your installation with the /j command-line option for MsiExec.exe. The built-in actions in this sequence are described in the table below.

User Interface

Validation rule ICE78 requires the Advertisement User Interface sequence to be empty.

Execute

The Execute sequence contains all the actions that do not rely upon the user interface in order to function properly. These actions include file transfer, publishing components and features, and registering COM servers.

For complete technical details about each standard action, see the Standard Actions Reference in the Windows Installer Help Library.

Execute Actions in the Advertisement Sequence

Action Name

Type of Event

Description

CostInitialize

Standard action

The first step in determining how much disk space is required by the current configuration of the installation.

CostFinalize

Standard action

Determines the total amount of disk space required by the installation in its current configuration.

InstallValidate

Standard action

Determines if there is enough disk space available for the current configuration.

InstallInitialize

Standard action

Marks the beginning of the actions that make changes to the end user’s system.

CreateShortcuts

Standard action

Creates the shortcuts specified in the Shortcuts view or the Setup Design view.

RegisterClassInfo

Standard action

Registers all of the COM class information specified in the COM Registration advanced setting.

RegisterExtensionInfo

Standard action

Registers all of the extensions specified in the File Types advanced setting.

RegisterProgIdInfo

Standard action

Registers all of the ProgIDs that defined in the COM Registration advanced setting if its component is being advertised.

RegisterMIMEInfo

Standard action

Registers all of the MIME types that are defined in the File Types advanced setting if its component is being advertised.

RegisterTypeLibraries

Standard action

Registers any type libraries that were created in the installation, either through the COM Registration advanced setting or the Component Wizard.

PublishComponents

Standard action

Publishes all components that are associated with features that are being advertised.

MsiPublishAssemblies

Standard action

Manages the advertisement of common language run-time assemblies and Win32 assemblies. The action queries the MsiAssembly table to determine which assemblies have features being advertised or installed to the global assembly cache and which assemblies have a parent component being advertised or installed to a location isolated for a particular application.

PublishFeatures

Standard action

Registers each feature’s installation state. This state can be absent, advertised, or installed. If the feature is installed, this action writes the feature-component relationship to the registry.

PublishProduct

Standard action

Publishes a product if it is being advertised.

InstallFinalize

Standard action

The final step of the installation or uninstallation.

See Also