Reputation: 2261
I am creating an installer in wix. When the user right-clicks the MSI and selects Repair option, I want to display message box with an error.
Can anyone please tell me how to do this?
Upvotes: 2
Views: 374
Reputation: 21416
Windows Installer doesn't know what triggers a repair. So you cannot handle the context menu option. You can handle only the repair operation, no matter what triggered it.
To detect a repair you can use the REINSTALL property.
Upvotes: 3