WiX Database XML Schema

Element: InstallExecuteSequence

Derived By

Restricting anyType

Content Model

Contains elements as defined in the following table.

Component  Type  Occurs  Description 
    0..*   
AllocateRegistrySpace  ActionSequenceType  0..1  Ensures the needed amount of space exists in the registry.
AppSearch  ActionModuleSequenceType  0..1  Uses file signatures to search for existing versions of products.
BindImage  ActionSequenceType  0..1  Binds each executable or DLL that must be bound to the DLLs imported by it.
CCPSearch  ActionModuleSequenceType  1..1  Uses file signatures to validate that qualifying products are installed on a system before an upgrade installation is performed.
CostFinalize  ActionSequenceType  1..1  Ends the internal installation costing process begun by the CostInitialize action.
CostInitialize  ActionSequenceType  1..1  Initiates the internal installation costing process.
CreateFolders  ActionSequenceType  0..1  Creates empty folders for components that are set to be installed.
CreateShortcuts  ActionSequenceType  0..1  Manages the creation of shortcuts.
Custom  string (extension)  0..*  Use to sequence a custom action.
DeleteServices  ActionSequenceType  1..1  Stops a service and removes its registration from the system.
DisableRollback  ActionModuleSequenceType  0..1  Disables rollback for the remainder of the installation.
DuplicateFiles  ActionSequenceType  1..1  Duplicates files installed by the InstallFiles action.
FileCost  ActionSequenceType  1..1  Initiates dynamic costing of standard installation actions.
FindRelatedProducts  ActionModuleSequenceType  0..1  Runs through each record of the Upgrade table in sequence and compares the upgrade code, product version, and language in each row to products installed on the system.
ForceReboot  ActionModuleSequenceType  0..1  Prompts the user for a restart of the system during the installation.
InstallExecute  ActionModuleSequenceType  0..1  Runs a script containing all operations spooled since either the start of the installation or the last InstallExecute action, or InstallExecuteAgain action.
InstallExecuteAgain  ActionModuleSequenceType  0..1  Runs a script containing all operations spooled since either the start of the installation or the last InstallExecute action, or InstallExecuteAgain action.
InstallFiles  ActionSequenceType  0..1  Copies files specified in the File table from the source directory to the destination directory.
InstallFinalize  ActionSequenceType  1..1  Marks the end of a sequence of actions that change the system.
InstallInitialize  ActionSequenceType  1..1  Marks the beginning of a sequence of actions that change the system.
InstallODBC  ActionSequenceType  1..1  Installs the drivers, translators, and data sources in the ODBCDriver table, ODBCTranslator table, and ODBCDataSource table.
InstallServices  ActionSequenceType  1..1  Registers a service for the system.
InstallValidate  ActionSequenceType  1..1  Verifies that all costed volumes have enough space for the installation.
IsolateComponents  ActionSequenceType  1..1  Installs a copy of a component (commonly a shared DLL) into a private location for use by a specific application (typically an .exe).
LaunchConditions  ActionModuleSequenceType  0..1  Queries the LaunchCondition table and evaluates each conditional statement recorded there.
MigrateFeatureStates  ActionSequenceType  1..1  Used for upgrading or installing over an existing application.
MoveFiles  ActionSequenceType  1..1  Locates existing files on the system and moves or copies those files to a new location.
MsiPublishAssemblies  ActionSequenceType  1..1  Manages the advertisement of CLR and Win32 assemblies.
MsiUnpublishAssemblies  ActionSequenceType  1..1  Manages the unadvertisement of CLR and Win32 assemblies that are being removed.
PatchFiles  ActionSequenceType  1..1  Queries the Patch table to determine which patches are to be applied.
ProcessComponents  ActionSequenceType  1..1  Registers and unregisters components, their key paths, and the component clients.
PublishComponents  ActionSequenceType  0..1  Manages the advertisement of the components from the PublishComponent table.
PublishFeatures  ActionSequenceType  0..1  Writes each feature's state into the system registry.
PublishProduct  ActionSequenceType  0..1  Manages the advertisement of the product information with the system.
RegisterClassInfo  ActionSequenceType  0..1  Manages the registration of COM class information with the system.
RegisterComPlus  ActionSequenceType  1..1  Registers COM+ applications.
RegisterExtensionInfo  ActionSequenceType  1..1  Manages the registration of extension related information with the system.
RegisterFonts  ActionSequenceType  1..1  Registers installed fonts with the system.
RegisterMIMEInfo  ActionSequenceType  1..1  Registers MIME-related registry information with the system.
RegisterProduct  ActionSequenceType  0..1  Registers the product information with the installer.
RegisterProgIdInfo  ActionSequenceType  0..1  Manages the registration of OLE ProgId information with the system.
RegisterTypeLibraries  ActionSequenceType  0..1  Registers type libraries with the system.
RegisterUser  ActionSequenceType  0..1  Registers the user information with the installer to identify the user of a product.
RemoveDuplicateFiles  ActionSequenceType  1..1  Deletes files installed by the DuplicateFiles action.
RemoveEnvironmentStrings  ActionSequenceType  1..1  Modifies the values of environment variables.
RemoveExistingProducts  ActionModuleSequenceType  1..1  Goes through the product codes listed in the ActionProperty column of the Upgrade table and removes the products in sequence.
RemoveFiles  ActionSequenceType  0..1  Removes files previously installed by the InstallFiles action.
RemoveFolders  ActionSequenceType  0..1  Removes any folders linked to components set to be removed or run from source.
RemoveIniValues  ActionSequenceType  1..1  Removes .ini file information specified for removal in the RemoveIniFile table if the component is set to be installed locally or run from source.
RemoveODBC  ActionSequenceType  1..1  Removes the data sources, translators, and drivers listed for removal during the installation.
RemoveRegistryValues  ActionSequenceType  0..1  Removes a registry value that has been authored into the registry table if the associated component was installed locally or as run from source, and is now set to be uninstalled.
RemoveShortcuts  ActionSequenceType  0..1  Manages the removal of an advertised shortcut whose feature is selected for uninstallation or a nonadvertised shortcut whose component is selected for uninstallation.
ResolveSource  ActionModuleSequenceType  0..1  Determines the location of the source and sets the SourceDir property if the source has not been resolved yet.
RMCCPSearch  ActionModuleSequenceType  1..1  Uses file signatures to validate that qualifying products are installed on a system before an upgrade installation is performed.
ScheduleReboot  ActionModuleSequenceType  0..1  Prompts the user to restart the system at the end of installation.
SelfRegModules  ActionSequenceType  0..1  Processes all modules listed in the SelfReg table and registers all installed modules with the system.
SelfUnregModules  ActionSequenceType  0..1  Unregisters all modules listed in the SelfReg table that are scheduled to be uninstalled.
SetODBCFolders  ActionSequenceType  1..1  Checks for existing ODBC drivers and sets the target directory for each new driver to the location of an existing driver.
StartServices  ActionSequenceType  1..1  Starts system services.
StopServices  ActionSequenceType  1..1  Stops system services.
UnpublishComponents  ActionSequenceType  0..1  Manages the unadvertisement of components listed in the PublishComponent table.
UnpublishFeatures  ActionSequenceType  0..1  Removes selection-state and feature-component mapping information from the registry.
UnregisterClassInfo  ActionSequenceType  0..1  Manages the removal of COM class information from the system registry.
UnregisterComPlus  ActionSequenceType  1..1  Removes COM+ applications from the registry.
UnregisterExtensionInfo  ActionSequenceType  1..1  Manages the removal of extension-related information from the system registry.
UnregisterFonts  ActionSequenceType  1..1  Removes registration information about installed fonts from the system.
UnregisterMIMEInfo  ActionSequenceType  1..1  Unregisters MIME-related registry information from the system.
UnregisterProgIdInfo  ActionSequenceType  0..1  Manages the unregistration of OLE ProgId information with the system.
UnregisterTypeLibraries  ActionSequenceType  0..1  Unregisters type libraries from the system.
ValidateProductID  ActionSequenceType  1..1  Sets the ProductID property to the full product identifier.
WriteEnvironmentStrings  ActionSequenceType  1..1  Modifies the values of environment variables.
WriteIniValues  ActionSequenceType  1..1  Writes the .ini file information that the application needs written to its .ini files.
WriteRegistryValues  ActionSequenceType  0..1  Sets up an application's registry information.

Definition

<xs:element name="InstallExecuteSequence">
<xs:annotation>
<xs:appinfo>
<xse:msiRef table="InstallExecuteSequence" href="http://msdn.microsoft.com/library/aa369500.aspx" xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension" />
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<!-- used only to supply default op for child action elements -->
<xs:element ref="Custom" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Use to sequence a custom action.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ScheduleReboot" minOccurs="0">
<xs:annotation>
<xs:documentation>Prompts the user to restart the system at the end of installation. Not fixed sequence.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ForceReboot" minOccurs="0">
<xs:annotation>
<xs:documentation>Prompts the user for a restart of the system during the installation. Not fixed sequence.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ResolveSource" minOccurs="0">
<xs:annotation>
<xs:documentation>Determines the location of the source and sets the SourceDir property if the source has not been resolved yet. Not fixed sequence.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="LaunchConditions" minOccurs="0">
<xs:annotation>
<xs:documentation>Queries the LaunchCondition table and evaluates each conditional statement recorded there.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="FindRelatedProducts" minOccurs="0">
<xs:annotation>
<xs:documentation>Runs through each record of the Upgrade table in sequence and compares the upgrade code, product version, and language in each row to products installed on the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="AppSearch" minOccurs="0">
<xs:annotation>
<xs:documentation>Uses file signatures to search for existing versions of products.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CCPSearch">
<xs:annotation>
<xs:documentation>Uses file signatures to validate that qualifying products are installed on a system before an upgrade installation is performed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RMCCPSearch">
<xs:annotation>
<xs:documentation>Uses file signatures to validate that qualifying products are installed on a system before an upgrade installation is performed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ValidateProductID">
<xs:annotation>
<xs:documentation>Sets the ProductID property to the full product identifier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CostInitialize">
<xs:annotation>
<xs:documentation>Initiates the internal installation costing process.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="FileCost">
<xs:annotation>
<xs:documentation>Initiates dynamic costing of standard installation actions.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="IsolateComponents">
<xs:annotation>
<xs:documentation>Installs a copy of a component (commonly a shared DLL) into a private location for use by a specific application (typically an .exe).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CostFinalize">
<xs:annotation>
<xs:documentation>Ends the internal installation costing process begun by the CostInitialize action.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="SetODBCFolders">
<xs:annotation>
<xs:documentation>Checks for existing ODBC drivers and sets the target directory for each new driver to the location of an existing driver.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="MigrateFeatureStates">
<xs:annotation>
<xs:documentation>Used for upgrading or installing over an existing application.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstallValidate">
<xs:annotation>
<xs:documentation>Verifies that all costed volumes have enough space for the installation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstallInitialize">
<xs:annotation>
<xs:documentation>Marks the beginning of a sequence of actions that change the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="AllocateRegistrySpace" minOccurs="0">
<xs:annotation>
<xs:documentation>Ensures the needed amount of space exists in the registry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ProcessComponents">
<xs:annotation>
<xs:documentation>Registers and unregisters components, their key paths, and the component clients.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UnpublishComponents" minOccurs="0">
<xs:annotation>
<xs:documentation>Manages the unadvertisement of components listed in the PublishComponent table.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UnpublishFeatures" minOccurs="0">
<xs:annotation>
<xs:documentation>Removes selection-state and feature-component mapping information from the registry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="StopServices">
<xs:annotation>
<xs:documentation>Stops system services.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="DeleteServices">
<xs:annotation>
<xs:documentation>Stops a service and removes its registration from the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UnregisterComPlus">
<xs:annotation>
<xs:documentation>Removes COM+ applications from the registry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="SelfUnregModules" minOccurs="0">
<xs:annotation>
<xs:documentation>Unregisters all modules listed in the SelfReg table that are scheduled to be uninstalled.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UnregisterTypeLibraries" minOccurs="0">
<xs:annotation>
<xs:documentation>Unregisters type libraries from the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RemoveODBC">
<xs:annotation>
<xs:documentation>Removes the data sources, translators, and drivers listed for removal during the installation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UnregisterFonts">
<xs:annotation>
<xs:documentation>Removes registration information about installed fonts from the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RemoveRegistryValues" minOccurs="0">
<xs:annotation>
<xs:documentation>Removes a registry value that has been authored into the registry table if the associated component was installed locally or as run from source, and is now set to be uninstalled.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UnregisterClassInfo" minOccurs="0">
<xs:annotation>
<xs:documentation>Manages the removal of COM class information from the system registry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UnregisterExtensionInfo">
<xs:annotation>
<xs:documentation>Manages the removal of extension-related information from the system registry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UnregisterProgIdInfo" minOccurs="0">
<xs:annotation>
<xs:documentation>Manages the unregistration of OLE ProgId information with the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UnregisterMIMEInfo">
<xs:annotation>
<xs:documentation>Unregisters MIME-related registry information from the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RemoveIniValues">
<xs:annotation>
<xs:documentation>Removes .ini file information specified for removal in the RemoveIniFile table if the component is set to be installed locally or run from source.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RemoveShortcuts" minOccurs="0">
<xs:annotation>
<xs:documentation>Manages the removal of an advertised shortcut whose feature is selected for uninstallation or a nonadvertised shortcut whose component is selected for uninstallation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RemoveEnvironmentStrings">
<xs:annotation>
<xs:documentation>Modifies the values of environment variables.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RemoveDuplicateFiles">
<xs:annotation>
<xs:documentation>Deletes files installed by the DuplicateFiles action.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RemoveFiles" minOccurs="0">
<xs:annotation>
<xs:documentation>Removes files previously installed by the InstallFiles action.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RemoveFolders" minOccurs="0">
<xs:annotation>
<xs:documentation>Removes any folders linked to components set to be removed or run from source.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CreateFolders" minOccurs="0">
<xs:annotation>
<xs:documentation>Creates empty folders for components that are set to be installed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="MoveFiles">
<xs:annotation>
<xs:documentation>Locates existing files on the system and moves or copies those files to a new location.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstallFiles" minOccurs="0">
<xs:annotation>
<xs:documentation>Copies files specified in the File table from the source directory to the destination directory.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="DuplicateFiles">
<xs:annotation>
<xs:documentation>Duplicates files installed by the InstallFiles action.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PatchFiles">
<xs:annotation>
<xs:documentation>Queries the Patch table to determine which patches are to be applied.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="BindImage" minOccurs="0">
<xs:annotation>
<xs:documentation>Binds each executable or DLL that must be bound to the DLLs imported by it.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CreateShortcuts" minOccurs="0">
<xs:annotation>
<xs:documentation>Manages the creation of shortcuts.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RegisterClassInfo" minOccurs="0">
<xs:annotation>
<xs:documentation>Manages the registration of COM class information with the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RegisterExtensionInfo">
<xs:annotation>
<xs:documentation>Manages the registration of extension related information with the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RegisterProgIdInfo" minOccurs="0">
<xs:annotation>
<xs:documentation>Manages the registration of OLE ProgId information with the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RegisterMIMEInfo">
<xs:annotation>
<xs:documentation>Registers MIME-related registry information with the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="WriteRegistryValues" minOccurs="0">
<xs:annotation>
<xs:documentation>Sets up an application's registry information.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="WriteIniValues">
<xs:annotation>
<xs:documentation>Writes the .ini file information that the application needs written to its .ini files.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="WriteEnvironmentStrings">
<xs:annotation>
<xs:documentation>Modifies the values of environment variables.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RegisterFonts">
<xs:annotation>
<xs:documentation>Registers installed fonts with the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstallODBC">
<xs:annotation>
<xs:documentation>Installs the drivers, translators, and data sources in the ODBCDriver table, ODBCTranslator table, and ODBCDataSource table.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RegisterTypeLibraries" minOccurs="0">
<xs:annotation>
<xs:documentation>Registers type libraries with the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="SelfRegModules" minOccurs="0">
<xs:annotation>
<xs:documentation>Processes all modules listed in the SelfReg table and registers all installed modules with the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RegisterComPlus">
<xs:annotation>
<xs:documentation>Registers COM+ applications.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstallServices">
<xs:annotation>
<xs:documentation>Registers a service for the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="StartServices">
<xs:annotation>
<xs:documentation>Starts system services.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RegisterUser" minOccurs="0">
<xs:annotation>
<xs:documentation>Registers the user information with the installer to identify the user of a product.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RegisterProduct" minOccurs="0">
<xs:annotation>
<xs:documentation>Registers the product information with the installer.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PublishComponents" minOccurs="0">
<xs:annotation>
<xs:documentation>Manages the advertisement of the components from the PublishComponent table.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PublishFeatures" minOccurs="0">
<xs:annotation>
<xs:documentation>Writes each feature's state into the system registry.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PublishProduct" minOccurs="0">
<xs:annotation>
<xs:documentation>Manages the advertisement of the product information with the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstallFinalize">
<xs:annotation>
<xs:documentation>Marks the end of a sequence of actions that change the system.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="RemoveExistingProducts">
<xs:annotation>
<xs:documentation>Goes through the product codes listed in the ActionProperty column of the Upgrade table and removes the products in sequence.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="DisableRollback" minOccurs="0">
<xs:annotation>
<xs:documentation>Disables rollback for the remainder of the installation.</xs:documentation>
</xs:annotation>
</xs:element>
<!-- InstallExecute and InstallExecuteAgain can optionally appear anywhere between InstallInitialize and InstallFinalize -->
<xs:element ref="InstallExecute" minOccurs="0">
<xs:annotation>
<xs:documentation>Runs a script containing all operations spooled since either the start of the installation or the last InstallExecute action, or InstallExecuteAgain action.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstallExecuteAgain" minOccurs="0">
<xs:annotation>
<xs:documentation>Runs a script containing all operations spooled since either the start of the installation or the last InstallExecute action, or InstallExecuteAgain action.</xs:documentation>
</xs:annotation>
</xs:element>
<!-- Windows Installer 1.5 actions -->
<xs:element ref="MsiPublishAssemblies">
<xs:annotation>
<xs:documentation>Manages the advertisement of CLR and Win32 assemblies.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="MsiUnpublishAssemblies">
<xs:annotation>
<xs:documentation>Manages the unadvertisement of CLR and Win32 assemblies that are being removed.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>