Mark
Mark

Reputation: 2261

wix: Display error message box when click Repair from context Menu

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

Answers (1)

Cosmin
Cosmin

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

Related Questions