Msi PM Hat: Adopt Windows Installer for Built-In System Restore

No additional work is required by an application installed with Windows Installer as MSI tells system restore when to start and when to stop monitoring.

Here's an example of a log entry for the system restore start (uninstalling orca.msi from the SDK, logging prefixes removed)

BeginTransaction: Locking Server
Machine policy value 'LimitSystemRestoreCheckpointing' is 0
Note: 1: 1717 2: Orca
Calling SRSetRestorePoint API. dwRestorePtType: 1, dwEventType: 102, llSequenceNumber: 0, szDescription: "Removed Orca".
The call to SRSetRestorePoint API succeeded. Returned status: 0, llSequenceNumber: 610.

Here's an example of a log entry for the system restore stop (uninstalling orca.msi from the SDK, logging prefixes removed)

Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 103, llSequenceNumber: 610, szDescription: "".
The call to SRSetRestorePoint API succeeded. Returned status: 0.
Unlocking Server

For more information on how system restore works, consult the MSDN topic: About System Restore