Pre-Deployment Custom Script Question

Pre-Deployment Custom Script Question

I have a configuration setup to run a script (.vbs file) and then install an application if the script is successful and the exit code is 0. However, if the script fails and the exit code is not 0 the deployment assumes that it failed when really I want it to consider that the installation is not necessary and to skip deployment and report it as such.

Is there any way to do this currently? If not, I would like to suggest that there be an option to change "Proceed if exit code is ___" to "Skip installation if exit code is ___" just like you can do for other conditions like "Check Software" or "Check File Folder" where you can define the action. This would be quite helpful.

Thanks,
Roger