The ADVERTISE action is a top-level action called to install or remove advertised components.

Sequence Restrictions

There are no sequence restrictions.

ActionData Messages

There are no ActionData messages.


Advertising refers to the installer's ability to provide the loading and launching interfaces of an application without physically installing the application. The installer does not install the necessary components until a user or application activates an advertised interface. This concept is called install-on-demand.

The ADVERTISE action is not called from within the action table sequence, the Windows Installer executes this action when the command line executable Msiexec.exe is called with the '/j' command line switch or when MsiInstallProduct is called with the szCommandLine parameter set to ACTION=ADVERTISE.

AdvtExecuteSequence Table