

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.

C# | Visual Basic | Visual C++ | F# |
public void Rollback()
Public Sub Rollback
public: void Rollback()
member Rollback : unit -> unit

This method can only be called by the current owner of the transaction.
Win32 MSI API: MsiEndTransaction

Exception | Condition |
---|---|
InstallerException | The transaction could not be rolled back. |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)