Reputation: 1943
I'm creating a setup project and I need to execute a VBScript file as a custom action, but I don't know how to return a value from the script to the installation. I need to do this, because I want to decide in the script whether the installation should continue or fail.
thanks in advance.
Upvotes: 1
Views: 367
Reputation: 31928
You can try to call (From the custom action script)
Err.Raise YourErrorCode
This should stop your setup with a failure.
Upvotes: 1