Deployment Tools Foundation
Rollback Method
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Transaction ► Rollback()()()
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()
RemarksThis 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. |