InstallAware for Windows Installer
 

MSI Transaction

This plug-in provided command starts or ends a Windows Installer 4.5 transaction. This command requires Windows Installer 4.5 to be installed on the target system.

Begin New Transaction

Select this option to begin a new MSI transaction. Any Windows Installer based installations that occur after the new transaction has begun can be committed or rolled back in a single step based on installation success/failure states or end-user choice or any other arbitrary factor using this same command.

End Transaction

Select this option to end an MSI transaction that was previously started. Choose the Commit all changes option to have all the installations which were a part of the transaction commit. Choose the Rollback all changes option to discard all the installations which were a part of the transaction, returning the system into the prior state before the transaction was begun.

Return result in variable

Indicates the variable to hold the result of the transaction attempt. The variable will hold one of the following values:

Value Meaning
MSI45REQUIRED Windows Installer 4.5 is not installed. No action was taken.
SUCCESS Transaction was started or finished successfully.
SERVICEUNAVAILABLE Windows Installer service not available, failed to start transaction.
ALREADYRUNNING An (un)installation is already in progress, failed to start transaction.
INTERNALERROR An internal error occured, failed to start transaction.
ROLLBACKDISABLED Windows Installer rollback disabled, failed to start transaction.
ACCESSDENIED Access denied, failed to end transaction.
INSTALLERROR An (un)installation error occured, failed to end transaction.
INSTALLSTILLACTIVE An (un)installation is still in progress, faield to end transaction.

If specified, this variable must have been previously defined in the setup script using the Set Variable command.