Sounds like an strange design. Normally you'd make a major upgrade to remove
the old version automatically and replace it with the new one. Any data that
needs preserving is probably configuration or user data and should be handled
by the application rather than the installer. The normal way to uninstall is
via Add/Remove Programs (Programs And Features) but you can make a shortcut
as shown in
http://robmensching.com/blog/posts/2007/4/27/How-to-create-an-uninstall-short
cut-and-pass-all-the

Have you set ARPNOREMOVE ? That would suppress the uninstall string.

-----Original Message-----
From: Alec Swan [mailto:alecs...@gmail.com] 
Sent: 23 August 2012 15:22
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] UnistallString is not written in
Software\Microsoft\Windows\CurrentVersion\Uninstall\ registry key

We use UninstallString to run the uninstaller when the product is updated in
place.

So, when the user runs our installer the installer looks for UninstallString
reg key and if found the installer asks if user wants to wipe out previous
product version's data or try to preserve it and then runs the uninstaller
passing user's answer as a command-line parameter.

Are we doing this wrong? How else can we find the path to the uninstaller of
the product version installed on user's machine?

Thanks,

Alec

On Thu, Aug 23, 2012 at 3:17 AM, Peter Shirtcliffe <pshirtcli...@sdl.com>
wrote:
> Windows Installer itself writes the value.
> http://msdn.microsoft.com/en-us/library/aa372105%28v=VS.85%29.aspx
> However, the uninstall string is not used by Windows Installer so does 
> it matter that it wasn't written ?
>
> -----Original Message-----
> From: Alec Swan [mailto:alecs...@gmail.com]
> Sent: 23 August 2012 00:23
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] UnistallString is not written in 
> Software\Microsoft\Windows\CurrentVersion\Uninstall\ registry key
>
> Hello,
>
> I am trying to track down why our installer generated using Wix 3.0 
> stopped writing the UninstallString value in 
> Software\Microsoft\Windows\CurrentVersion\Uninstall\ registry key. At 
> some point we must have changed some code that broke this behavior.
>
> Where should I start troubleshooting this? Which Wix action writes 
> this registry key?
>
> Thanks,
>
> Alec
>
> ----------------------------------------------------------------------
> -------
> -
> 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