/build/static/layout/Breadcrumb_cap_w.png

Custom Action exit code

Hi,

I have a question in regard to VBS Custom Actions in an MSI.  I have many VBS Custom Actions in an MSI and I would like to abort the MSI if the Custom Action exit code is not 0 (successful).  I also would like the installation to fail with that same exit code if the exit code of the VBS is not 0.  Is that possible?


0 Comments   [ + ] Show comments

Answers (2)

Posted by: anonymous_9363 11 years ago
Red Belt
0

>I have many VBS Custom Actions in an MSI
Why? What do they do that can't be done natively within the MSI?


Comments:
  • I believe VBScab, that jml2011inc@gmail.com talking in terms of custom actions like creating some post install configs and his MSI involves xladdins or something - talonsprem87 11 years ago
Posted by: talonsprem87 11 years ago
10th Degree Black Belt
0

Yes that is very much possible........when sequencing your custom actions follow the below show image

 

During synchronous execution of a custom action, the installer waits for the thread of the custom action to complete before continuing the main installation and if the custom action failed the installation would roll back. Hope I answered your question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ