As far as I can think, you can only selectively uninstall entire features
without using permanent components.
If the conditions are broken, would patching/minor updating them solve your
problem ? I'm not sure what the WiX bug is that you're referring to.
Otherwise, you could write an extra installer that only includes the
component you want to keep, install that, then remove the original one. The
extra reference would retain the component on the machine until you took both
installers off.

-----Original Message-----
From: Andy Clugston [mailto:clug...@gmail.com] 
Sent: 28 August 2012 16:15
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Conditional Uninstall - Need to workaround WiX
Certificate custom action bugs

We have a product that installs a few certificates on the system using the
IIS extension using WiX 3.0. Evidently, there is an issue with the
certificate action(s) in this version of the toolset.

We are unable to uninstall/upgrade from this specific version in the field.
I would like to know if there is a way during the uninstall (i.e. msiexec /x
.....) to pass command line parameters/properties to skip the uninstall of
specific components, in this case the certificate that is giving us problems.

The original authoring has conditions to skip the certificates when
installing the product. Passing these properties during the uninstall does
not seem to skip them during the uninstall process (like I was hoping it
would).

Ultimately, we have tested with WiX 3.5 and the bug appears to be fixed.
So, we would like to be able to get the old version of the product
uninstalled, leaving the certificate it originally installed behind, and then
with the new WiX 3.5-built package reinstall the certificate hoping to
workaround this original WiX 3.0 issue.


If there is no other way to selectively uninstall, is there a possible way of
forcibly causing the uninstall to succeed (understanding that some artifacts
might be left behind)?

I have all of the details of the original installation package, so if
anything can be done I would very much appreciate the help.

Thanks.
-----------------------------------------------------------------------------
-
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat
landscape has changed and how IT managers can respond. Discussions will
include endpoint security, mobile security and the latest in malware threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to