The simplest way to implement a major upgrade is, as you say, put * for
product code, keep the upgrade code and increment the product version. Then
just add:

<MajorUpgrade DowngradeErrorMessage="Downgrades are not allowed." />

That automatically adds the RemoveExistingProducts action and the appropriate
Upgrade table entries and prevents downgrades too.

-----Original Message-----
From: Robert Lee [mailto:genrobert...@gmail.com] 
Sent: 30 November 2011 23:12
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Is major update supposed to duplicate the
add/removeprograms entry?

I would like to develop an installer so that it would NOT force the user to
uninstall the application manually prior to installing new version. Just
running the new msi should update everything automatically.
As far as I understood the wix book, in order to achieve that, I should set
product ID in the markup to "*", keep the upgrade code, and increase
version number. But when I run the new msi, a new entry is added to
add/remove programs. How to prevent that?
-----------------------------------------------------------------------------
-
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
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.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to