Scripting Question

how to terminate msi installation using vbscript custom action.

10/08/2014 4103 views
i have one condition , if it true MSi installation/Uninstallation should terminate. How can i implement through vbscript in custom action. ?
anybody assist me.
0 Comments   [ + ] Show comments


Community Chosen Answer

What is the condition?

Folder Exists?
File Exists?
Registry Exists?
Ini Exists?

AppSerach & LaunchCondition tables should help you..
Answered 08/02/2015 by: jagadeish
Red Belt

All Answers

You can do this directly in the LaunchConditon table. If you really need to teminate your installation through VBS CustomAction, you can read something more here.
Answered 10/08/2014 by: rad33k
Fourth Degree Brown Belt


Why would you use a CA for this??

Use the launch condition, nice and easy.

Answered 10/13/2014 by: Badger
Red Belt


Custom Action, Type 19 should do it.  No need to script it.

See, here

If you are using the InstallShield Editor, then select Custom Actions and Sequences, right click Custom Actions and select New Error. Then right click the newly created custom action and select Custom Action Wizard.


Answered 10/08/2014 by: spartacus
Black Belt

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