Correct. 
Having thought about it a bit more, this might be a better idea:

Take the original installer (or whatever is the current release).
Make a major upgrade out of it in the normal way.
Schedule RemoveExistingProducts in one of the latter two places mentioned in
http://msdn.microsoft.com/en-us/library/windows/desktop/aa371197%28v=vs.85%29
.aspx
Build it with WiX 3.5

That'll create a major upgrade that shouldn't touch the certificate
component. Being built with WiX 3.5, removal might then succeed. I'm not sure
what the WiX team would say about mixing toolset versions like that but I'd
guess there are risks, so you'd have to test thoroughly.

You'd have to do the same thing with the second product too since you don't
know which one will be removed last and will perform the actual certificate
uninstallation.

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

Okay, so what you are saying is that I cannot skip individual components
during uninstall, correct?

I am not sure if these would work or not. We don't have "minor" installs, we
use the third digit, but it is a full install.

This product installs the certificate, and another product re-installs the
identical certificate. For some reason WiX 3.0 does not like this. I would
have to dig up the bug report, but I did run across it. During our tests with
WiX 3.5 this issue seems to be resolved. Now, we could get into a
conversation about cross product dependencies, etc. but I was not involved
with any of those decisions so I am just trying to dig us out of the hole we
are in.

I am not sure the extra installer is going to help. It appears that anything
touching the original certificate on the system causes the original WiX 3.0
MSI to fail. Yes, the install would ensure the cert is on the system, but the
uninstall for the original WiX 3.0 MSI package would still fail.

Thanks for the help.

On Tue, Aug 28, 2012 at 11:46 AM, Peter Shirtcliffe
<pshirtcli...@sdl.com>wrote:

> 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
>
-----------------------------------------------------------------------------
-
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

------------------------------------------------------------------------------
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