Rollback Method

Microsoft Deployment Tools

Deployment Tools Foundation Rollback Method
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerTransactionRollback()()()
Ends the install transaction and undoes changes to the system belonging to the transaction.
Declaration Syntax
C# Visual Basic Visual C++
public void Rollback()
Public Sub Rollback
public:
void Rollback()
Remarks

This method can only be called by the current owner of the transaction.

Win32 MSI API: MsiEndTransaction

Exceptions
Exception Condition
InstallerException The transaction could not be rolled back.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)