This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- uninstall conditions don't work, OR I'm insane
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2008
02:54 PM
uninstall conditions don't work, OR I'm insane
Okay, I've now wasted far too long trying to get this working. I am trying to run a CA on uninstall (my co-workers jokingly suggested that it's unnecessary, since no one would EVER want to uninstall our product), and no matter what I do, it won't work. I've tried the following conditions:
_IsMaintenance = "Remove"
and
&FeatureName=2
Regardless, this always evaluates to false. Logging the uninstall turns up this:
MSI (s) (B8:34) [15:37:59:241]: Skipping action: UninstallService (condition is false)
Am I in the Twilight Zone? Are all uninstalls really installs now? What's going on with this?
Many thanks,
Mark
_IsMaintenance = "Remove"
and
&FeatureName=2
Regardless, this always evaluates to false. Logging the uninstall turns up this:
MSI (s) (B8:34) [15:37:59:241]: Skipping action: UninstallService (condition is false)
Am I in the Twilight Zone? Are all uninstalls really installs now? What's going on with this?
Many thanks,
Mark
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2008
03:06 PM
If your product is uninstalling all the features, just put "REMOVE" (all CAPS) in the condition and see if it works.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2008
03:07 PM
Where in the sequences does your action occur? If the Execute sequence (which it presumably is, since it makes a system change), the private property _IsMaintenance will be reset to its default value when execution switches from the UI sequence to the Execute sequence. Please see this old newsletter tip for more (PDF warning): http://www.acresso.com/webdocuments/PDF/msiconditions.pdf.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 22, 2008
07:46 AM
Oh, that did the trick! Thanks... I wonder why I don't have more of these documents. I also wish I had saved more of my projects from my last job for use as personal references, where I had plenty of things like this working already.