Question

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.

Was it helpful?

Solution

You can try to call (From the custom action script)

Err.Raise YourErrorCode

This should stop your setup with a failure.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top