Reputation: 203
I want a CustomAction in VBScript that make the installation cancel after running it.
Upvotes: 0
Views: 1211
Reputation: 3565
Just return the correct error code from your custom action. There is a MSDN article on this, Return Values of JScript and VBScript Custom Actions.
Upvotes: 2
Reputation: 32250
You don't need to invent a wheel here - WiX has a standard custom action for this.
Upvotes: 1