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
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)
Please log in to answer
Posted by:
anonymous_9363
12 years ago
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.
(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.

so that the conversation will remain readable.