/build/static/layout/Breadcrumb_cap_w.png

how to terminate msi installation using vbscript custom action.

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

Answers (4)

Posted by: jagadeish 9 years ago
Red Belt
1
What is the condition?

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

AppSerach & LaunchCondition tables should help you..
Posted by: rad33k 10 years ago
Fourth Degree Brown Belt
0
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.
Posted by: Badger 10 years ago
Red Belt
0

Why would you use a CA for this??

Use the launch condition, nice and easy.

Posted by: spartacus 10 years ago
Black Belt
0

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.

Spartacus

 
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