views:

153

answers:

1

Hi all,

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.

+1  A: 

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

Err.Raise YourErrorCode

This should stop your setup with a failure.

Shay Erlichmen