/build/static/layout/Breadcrumb_cap_w.png

remove script

i have a msi which i add a vbs script in the custom action that add an account to the admin group, i want went i uninstall the program it remove it also, i have the uninstall vbs script but i don't know what sequence to put it in.
i only want it to run went uninstalling, i know you usally can put this went doing a nested but i have no idea on a script.

ALLUSERS=[ALLUSERS] REMOVE=ALL
REMOVE="ALL" AND NOT UPGRADINGPRODUCTCODE
INSERT AFTER InstallValidate


Thanks

0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 12 years ago
Red Belt
0
Put your CA into the Execute Deferred. You'll need the condition REMOVE~="ALL" (note the tilde - that tells the engine to ignore case. It's not strictly necessary but is a no-cost fail-safe. If your original conditions inlcuded 'AND NOT UPGRADINGPRODUCTCODE' then keep that in. Thus, you'll have:

(REMOVE~="ALL) AND NOT UPGRADINGPRODUCTCODE

I like to bracket conditions, but that's a hangover from my erstwhile development thrashings and again, not strictly necessary.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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