/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

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.
Answered 03/18/2008 by: VBScab
Red Belt

Please log in to comment