Ho To get exit code from VBS custom action and abort MSI installation if does not meet requirement
01/26/2017 1118 views
Community Chosen Answer
Please log in to answer
If you use AdminStudio:1) In AdminStudio create VB custom action. Select function you want to use from VBScript body.
2) In AdminStudio set "check exit code" parameter for custom action you created.
3) Return non zero exit code in your VBScript function in the case if you see unessasary applications are runing.
In this case MSI will fail if your custom action returns non zero exit code. And don't forget to set correct sequence for CA.
Answered 01/26/2017 by: itolutions