/build/static/layout/Breadcrumb_cap_w.png

Custom Action running upon Uninstall - shouldn't be

Hello all,

I have a custom action - run program from installation, Normal Execute Immediate/Deferred, Deferred - system context, Asynch No wait... it has the following condition statement:
NOT Installed OR REINSTALL OR ReinstallRepair

I basically want it to run everywhere BUT when uninstalling. However, the action IS running when I uninstall it. Any ideas?

Thanks!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: pjgeutjens 13 years ago
Red Belt
0
Whilst I do not immediately see what's wrong with your current condition, I'd suggest replacing it with Not REMOVE~="All" to get the effect you desire.
Posted by: DevilsArcade 13 years ago
Senior Yellow Belt
0
Yeah, I thought what I had originally would have taken care of it too, but adding NOT REMOVE="ALL" to my condition did the trick. Thanks!
Posted by: anonymous_9363 13 years ago
Red Belt
0
From memory, I think the 'Installed' state changes immediately an uninstall is selected and it's reinstated if the uninstall is rolled back.

A quick test with a simple MSI or a run through your tool's debugger would confirm if that's right.
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