Thank you. To avoid changing the version to different values in two different places, is the some way to set the 'Maximum' to the equivalent of current version - 1 so it will always work?
Kevin Burton Senior Software Engineer BUYSEASONS 262-901-2000 Office 262-901-2312 Fax kev...@buyseasons.com -----Original Message----- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Thursday, March 03, 2011 4:39 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Uninstall an installed product. Almost. You want: UpgradeVersion/@IncludeMinimum="yes" UpgradeVersion/@IncludeMaximum="no" Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com P Please consider the environment before printing this e-mail > -----Original Message----- > From: Kevin Burton [mailto:kev...@buyseasons.com] > Sent: Thursday, March 03, 2011 2:23 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Uninstall an installed product. > > Again I am just reading the tutorial the only explanation that I came > up with to reconcile what I was reading with the arguments for the > element was the concept of "downgrade". I also would like to disallow > downgrades. > > So since I am a little slow. If I always want to do a major upgrade > then with each build I change the version on the product element AND > also change Maximum on the upgrade element to be less than the current > version? > Right? So the code would look like: > > <Product .... Version="2.1.0" > .... > UpgradeCode="529189FE-FD0E-44ff-8DA6-B4FB5CC7A78B"> > > .... > > <Upgrade Id="529189FE-FD0E-44ff-8DA6-B4FB5CC7A78B"> > <UpgradeVersion OnlyDetect='no' Property='PREVIOUSFOUND' > Minimum='1.0.0' IncludeMinimum='no' > Maximum='2.1.0' IncludeMaximum='yes' /> > </Upgrade> > > Do I finally have it? > > Kevin Burton > Senior Software Engineer > BUYSEASONS > 262-901-2000 Office > 262-901-2312 Fax > kev...@buyseasons.com > > > -----Original Message----- > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > Sent: Thursday, March 03, 2011 3:44 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Uninstall an installed product. > > "Minimum and Maximum specify the range of versions we are supposed to > update with this upgrade." > > Why would Maximum be greater than the current product version? > Anything larger than the current version would make the current > version obsolete and thus we don't want to upgrade. > > I'm going to ignore the other stuff about downgrades... I don't have > experience to measure how safe and/or complex they are. I generally > disallow downgrades, in other words, I use UpgradeVersion to detect a > downgrade situation and use a LaunchCondition to prohibit > installation. Or more accurately, I let the MajorUpgrade element do it > for me since it does a great job in this regard. Use the MajorUpgrade element > and let it get it right! > > Edwin G. Castro > Software Developer - Staff > Electronic Banking Services > Fiserv > Office: 503-746-0643 > Fax: 503-617-0291 > www.fiserv.com > P Please consider the environment before printing this e-mail > > > > -----Original Message----- > > From: Kevin Burton [mailto:kev...@buyseasons.com] > > Sent: Thursday, March 03, 2011 1:16 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > Sorry I was looking at > > > > http://www.tramontana.co.hu/wix/lesson4.php#4.2 > > > > Some quotes, "Minimum and Maximum specify the range of versions we > are > > supposed to update with this upgrade. IncludeMaximum and > > IncludeMinimum specify whether the bound value is actually included > > in the range or not". This is where I had the idea that the version > > specified in the product element had to be in between the Minimum > > and > Maximum. > > > > "If our intention is a major upgrade, that is, complete and > > automatic removal of the previous version when a new one arrives, we > > just need to set OnlyDetect to no and to set the version numbers > > accordingly. > > Minimum will then specify the first version we allow to replace with > > the current one (and we include this minimum version in the range) > > while Maximum can be set to the current version number (but not > > included in the range). Then, any version between the first and the > > previous one before the current version will be removed > > automatically > during the installation of the current version. > > Also note that this same installer works as a first time installer > > as > > well: if it founds a previous version, it will remove the previous > > version and install the current one. If it is run on a clean system, > > it will simply install the current application; there is no need to > > create > separate upgrade and full installers." > > This is where I got the idea that the removed versions are from the > > Minimum to the current (nothing is mentioned about Maximum being > > less than current). > > > > The "downgrade" idea came as a result of various emails exchanged > > and the fact that if the version installed is greater than the > > current version that is replacing it this is by definition a downgrade. > > > > Is this out of date? > > > > Kevin Burton > > Senior Software Engineer > > BUYSEASONS > > 262-901-2000 Office > > 262-901-2312 Fax > > kev...@buyseasons.com > > > > -----Original Message----- > > From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] > > Sent: Thursday, March 03, 2011 1:54 PM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > Can you reference any source that justifies your thinking? If you > > can't then you are only guessing and have not performed the > > appropriate level of due diligence I would expect from any > > responsible > engineer. > > > > Upgrade Table - > > http://msdn.microsoft.com/en-us/library/aa372379.aspx > > Upgrade Element - http://wix.sourceforge.net/manual- > > wix3/wix_xsd_upgrade.htm > > UpgradeVersion Element - http://wix.sourceforge.net/manual- > > wix3/wix_xsd_upgradeversion.htm > > > > None of those references mention anything about downgrades. Those > > references do mention multiple times "product versions detected by > > FindRelatedProducts". > > > > FindRelatedProducts Action - http://msdn.microsoft.com/en- > > us/library/aa368600.aspx > > > > "The FindRelatedProducts action runs through each record of the > > Upgrade table in sequence and compares the upgrade code, product > > version, and language in each row to products installed on the system. > > When FindRelatedProducts detects a correspondence between the > upgrade > > information and an installed product, it appends the product code to > > the property specified in the ActionProperty column of the UpgradeTable." > > > > The property specified in the UpgradeVersion/@Property gets set when > > products matching the conditions expressed by the UpgradeVersion > > element are met. > > > > The ICE61 message is telling you what you need to do. If the ICE61 > > message does not match your expectations then I would trust the > > ICE61 message and do what it's telling you to do because it is > > trying to steer you into a correct implementation. > > > > The FindRelatedProducts action is responsible for finding installed > > products matching the conditions specified by the Upgrade table > > setting one or more properties when it finds matching installed > > products. You need to schedule FindRelatedProducts for this search > > to > occur otherwise nothing happens. > > FindRelatedProducts will not uninstall any installed products it > > finds. That is the job of the RemoveExistingProducts action. > > > > To detect products that you want to upgrade you need to specify the > > minimum and maximum versions you want to detect. You do not want to > > detect the version of the current product because you don't want to > > "upgrade" yourself. > > > > To detect newer products you'll need to have a second UpgradeVersion > > element with a minimum version equal to your current version. This > > second UpgradeVersion element will set a second property so you can > > determine that a newer version is installed. > > > > Here's some more information that my research assistant (Google) > > found for > > me: > > > > How To: Implement a Major Upgrade In Your Installer - > > http://wix.sourceforge.net/manual-wix3/major_upgrade.htm > > WiX Script for Major Upgrades - > > http://neilsleightholm.blogspot.com/2009/01/wix-script-for-major- > > upgrades.html > > Major Upgrades Now Easier Than Ever - > > http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier- > than- > > ever/ > > > > I don't mind providing help but I get quite irritated when I'm > > translating error and warning messages that are extremely clear. > > That tells me that the other party is just not trying very hard to > > learn the domain or the tools. Windows Installer is horribly complex > > and I understand that... but there is actually a good amount of > > information out > there if you just try to look for it. > > > > Edwin G. Castro > > Software Developer - Staff > > Electronic Banking Services > > Fiserv > > Office: 503-746-0643 > > Fax: 503-617-0291 > > www.fiserv.com > > P Please consider the environment before printing this e-mail > > > > > > > -----Original Message----- > > > From: Kevin Burton [mailto:kev...@buyseasons.com] > > > Sent: Thursday, March 03, 2011 11:11 AM > > > To: General discussion for Windows Installer XML toolset. > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > The message is clear to you but you are the expert. I doesn't make > > > sense to me. Let me just try to explain my thought process and you > > > can tell me where I am misunderstanding. As can be seen from the > > > WiX code below, the version that I am trying to set my product to > > > is 2.1. The minimum and maximum versions are minimum of 1.0 and > maximum of 3.0. > > > 2.1 seems to fall between these so it is valid. Older versions of > > > the product would be less than > > > 2.1 (which I am declaring as the current version)). My thinking is > > > older versions (less or equal to 2.1) should be removed to make > > > way for > > the new. > > > This is what I want. In order to achieve this I set the Upgrade > > > Minimum to be > > > 1.0 and set IncludeMinimum to 'yes' so that versions less than or > > > equal to the minimum will be removed (any version that is less > > > than or equal to the current version). As I understood the > > > 'Maximum' it said that maximum version was 3.0 and if the product > > > version was greater than the current version but less than the > > > maximum it was considered a downgrade (again IncludeMaximum is > > > 'no' so it is greater than the current version and less than the > > > maximum). So when I release a new version and bump the version > > > number to 2.2 it is still greater than the minimum and less than the > > > maximum. > > > > > > Right? > > > > > > -----Original Message----- > > > From: Castro, Edwin G. (Hillsboro) > > > [mailto:edwin.cas...@fiserv.com] > > > Sent: Thursday, March 03, 2011 12:14 PM > > > To: General discussion for Windows Installer XML toolset. > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > The ICE61 message is pretty clear to me. > > > > > > This product should remove only older versions of itself. The > > > Maximum version is not less than the current product. > > > > > > UpgradeVersion/@Maximum *must* be less than Product/@Version. > > > > > > Notice I said "less than" and *not* "less than or equal". This is > > > very important. > > > > > > You could set UpgradeVersion/@Maximum = Product/@Version _if and > > only > > > if_ UpgradeVersion/@IncludeMaximum = "no". > > > > > > Of course, the MajorUpgrade element handles all this for you very well. > > > > > > <Product ... Version="2.10" ... UpgradeCode="..."> > > > <Package ... /> > > > <MajorUpgrade DowngradeErrorMessage="A later version of > > > [ProductName] is already installed. Setup will now exit." /> > > > ... > > > </Product> > > > > > > Can't really get much easier than that. > > > > > > Edwin G. Castro > > > Software Developer - Staff > > > Electronic Banking Services > > > Fiserv > > > Office: 503-746-0643 > > > Fax: 503-617-0291 > > > www.fiserv.com > > > P Please consider the environment before printing this e-mail > > > > > > > -----Original Message----- > > > > From: Kevin Burton [mailto:kev...@buyseasons.com] > > > > Sent: Wednesday, March 02, 2011 6:23 PM > > > > To: General discussion for Windows Installer XML toolset. > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > I am sorry but now I am getting: > > > > > > > > \Product.wxs(16,0): warning LGHT1076: ICE61: This product should > > > > remove only older versions of itself. The Maximum version is not > > > > less than the current product. (2.1.0 2.1.0) > > > > \Product.wxs(21,0): warning LGHT1076: ICE61: This product should > > > > remove only older versions of itself. The Maximum version is not > > > > less than the current product. (3.0.0 2.1.0) > > > > > > > > The wxs code is: > > > > <Product .... Version="2.1.0" > > > > .... > > > > UpgradeCode="529189FE-FD0E-44ff-8DA6-B4FB5CC7A78B"> > > > > > > > > .... > > > > > > > > <Upgrade Id="529189FE-FD0E-44ff-8DA6-B4FB5CC7A78B"> > > > > <UpgradeVersion OnlyDetect='no' Property='PREVIOUSFOUND' > > > > Minimum='1.0.0' IncludeMinimum='yes' > > > > Maximum='3.0.0' IncludeMaximum='no' /> > > > > </Upgrade> > > > > > > > > What is this telling me? > > > > > > > > -----Original Message----- > > > > From: Castro, Edwin G. (Hillsboro) > > > > [mailto:edwin.cas...@fiserv.com] > > > > Sent: Wednesday, March 02, 2011 4:00 PM > > > > To: General discussion for Windows Installer XML toolset. > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > The Product/@Id is of type AutogenGuid according to > > > > http://wix.sourceforge.net/manual-wix3/wix_xsd_product.htm. The > > > > AutogenGuid description says: > > > > > > > > Values of this type will look like: "01234567-89AB-CDEF-0123- > > > 456789ABCDEF" > > > > or "{01234567-89AB-CDEF-0123-456789ABCDEF}". A GUID can be auto- > > > > generated by setting the value to "*". Also allows "PUT-GUID-HERE" > > > > for use in examples. > > > > > > > > Package/@Id is also of type AutogenGuid according to > > > > http://wix.sourceforge.net/manual-wix3/wix_xsd_package.htm. > > > > > > > > The compiler becomes responsible for generating a new GUID on > > > > each > > > build. > > > > > > > > Windows Installer requires that each and every package has a > > > > different Package/@Id. Explicitly setting Package/@Id to "*" is > > > > the same functionality as just not specifying the attribute at > > > > all as it is not required. As the compiler generates a new GUID > > > > on each build we meet the requirements set by Windows Installer. > > > > > > > > As mentioned earlier, Windows Installer defines a major upgrade > > > > as a package that has a different Package/@Id (by definition), a > > > > different Product/@Id, a different Product/@Version, and the > > > > SAME Product/@UpgradeCode as a currently installed product. The > > > > Product/@UpgradeCode is what ties together products that belong > > > > to the same product family. > > > > > > > > The Upgrade table is used to detect previously installed > > > > products that should be upgraded and schedules them to be > > > > uninstalled. The MajorUpgrade element makes it really easy to > > > > author the Upgrade table correctly. See > > > > http://wix.sourceforge.net/manual- > > > wix3/wix_xsd_majorupgrade.htm. > > > > > > > > If you always want to generate major upgrades then you'll want > > > > to do the > > > > following: > > > > * Use the MajorUpgrade element. > > > > * Set Product/@Id to "*". > > > > * Do not set Package/@Id as the default value results in the > > > > correct > > > behavior. > > > > * Guarantee that your build process results in a different > > > > Product/@Version on every build. > > > > * Do NOT change Product/@UpgradeCode between builds. > > > > > > > > Edwin G. Castro > > > > Software Developer - Staff > > > > Electronic Banking Services > > > > Fiserv > > > > Office: 503-746-0643 > > > > Fax: 503-617-0291 > > > > www.fiserv.com > > > > P Please consider the environment before printing this e-mail > > > > > > > > > -----Original Message----- > > > > > From: Chris Lord [mailto:chris.l...@atterotech.com] > > > > > Sent: Wednesday, March 02, 2011 1:29 PM > > > > > To: wix-users > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > Kevin > > > > > > > > > > You dont need to change it. Setting the package ID to "*" > > > > > ensures the package in your installer is automatically > > > > > regenerated with a new GUID each time you build it. This > > > > > means when uninstalling, the MSI wont be confused by identical > > > > > package > GUID's. > > > > > > > > > > For each version you release, assuming you are doing major > > > > > upgrades, the Product GUID and Package GUID must change BUT > > > > > the Upgrade GUID must remain the same for EVERY version of > > > > > that > > product. > > > > > > > > > > Chris > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Kevin Burton [mailto:kev...@buyseasons.com] > > > > > Sent: Wednesday, March 02, 2011 2:58 PM > > > > > To: General discussion for Windows Installer XML toolset. > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > 'it' is the Package/@id that this thread is about. If I set > > > > > the Product/@Id to "*" then how do I change it so that the > > > > > previous version is > > > > uninstalled? > > > > > > > > > > Kevin Burton > > > > > Senior Software Engineer > > > > > BUYSEASONS > > > > > 262-901-2000 Office > > > > > 262-901-2312 Fax > > > > > kev...@buyseasons.com > > > > > > > > > > -----Original Message----- > > > > > From: Castro, Edwin G. (Hillsboro) > > > > > [mailto:edwin.cas...@fiserv.com] > > > > > Sent: Wednesday, March 02, 2011 12:43 PM > > > > > To: General discussion for Windows Installer XML toolset. > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > What is "it"? I usually set Product\@Id="*" and do not set > > > > > Package\@Id at > > > > all. > > > > > > > > > > Edwin G. Castro > > > > > Software Developer - Staff > > > > > Electronic Banking Services > > > > > Fiserv > > > > > Office: 503-746-0643 > > > > > Fax: 503-617-0291 > > > > > www.fiserv.com > > > > > P Please consider the environment before printing this e-mail > > > > > > > > > > > -----Original Message----- > > > > > > From: Kevin Burton [mailto:kev...@buyseasons.com] > > > > > > Sent: Wednesday, March 02, 2011 6:27 AM > > > > > > To: General discussion for Windows Installer XML toolset. > > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > > > When I set it to "*" I get an error that it is not a GUID format. > > > > > > > > > > > > Kevin Burton > > > > > > Senior Software Engineer > > > > > > BUYSEASONS > > > > > > 262-901-2000 Office > > > > > > 262-901-2312 Fax > > > > > > kev...@buyseasons.com > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: Castro, Edwin G. (Hillsboro) > > > > > > [mailto:edwin.cas...@fiserv.com] > > > > > > Sent: Tuesday, March 01, 2011 2:07 PM > > > > > > To: General discussion for Windows Installer XML toolset. > > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > > > I would personally leave of Package/@Id and and set > > > > > > Product/@Id to "*". Or if you really want to set Package/@Id > > > > > > then > set it to "*". > > > > > > > > > > > > <Product Id="*" ... > > > > > > > <Package Id="*" ... /> > > > > > > </Product> > > > > > > > > > > > > Edwin G. Castro > > > > > > Software Developer - Staff > > > > > > Electronic Banking Services > > > > > > Fiserv > > > > > > Office: 503-746-0643 > > > > > > Fax: 503-617-0291 > > > > > > www.fiserv.com > > > > > > P Please consider the environment before printing this > > > > > > e-mail > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Kevin Burton [mailto:kev...@buyseasons.com] > > > > > > > Sent: Friday, February 25, 2011 10:48 AM > > > > > > > To: General discussion for Windows Installer XML toolset. > > > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > > > > > The product id and package id are: > > > > > > > > > > > > > > <Product Id="9F6D788B-7A58-4750-BFEF-169FF18EE1C6"... > > > > > > > > <Package Id="????????-????-????-????-????????????" > > > > > > > .../> > > > > > > > > > > > > > > Since the package id is all '?' I assume that you mean I > > > > > > > need to change the product id? > > > > > > > > > > > > > > Kevin Burton > > > > > > > Senior Software Engineer > > > > > > > BUYSEASONS > > > > > > > 262-901-2000 Office > > > > > > > 262-901-2312 Fax > > > > > > > kev...@buyseasons.com > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Wilson, Phil [mailto:phil.wil...@invensys.com] > > > > > > > Sent: Friday, February 25, 2011 12:28 PM > > > > > > > To: General discussion for Windows Installer XML toolset. > > > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > > > > > Your new MSI has a new ProductCode? From that message it > > > > > > > looks like it hasn't. Another possibility is that the > > > > > > > PackageCode hasn't > > > > > changed. > > > > > > > > > > > > > > Phil Wilson > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Kevin Burton [mailto:kev...@buyseasons.com] > > > > > > > Sent: Friday, February 25, 2011 9:28 AM > > > > > > > To: General discussion for Windows Installer XML toolset. > > > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > > > > > Right now it is not automatically uninstalling the product. > > > > > > > I am met > > > > > > > > > > > > with the dialog instructing me to go to Add/Remove Panel. > > > > > > > > > > > > > > Currently I am using an earlier version of WiX so I guess > > > > > > > I am reading the right stuff in the tutorial. I am looking > > > > > > > to try to migrate my WiX code to WiX 3.5 so I would also > > > > > > > be interested in learning how this is done > > > > > > with the newer version. > > > > > > > > > > > > > > Kevin Burton > > > > > > > Senior Software Engineer > > > > > > > BUYSEASONS > > > > > > > 262-901-2000 Office > > > > > > > 262-901-2312 Fax > > > > > > > kev...@buyseasons.com > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Chris Lord [mailto:chris.l...@atterotech.com] > > > > > > > Sent: Friday, February 25, 2011 11:21 AM > > > > > > > To: General discussion for Windows Installer XML toolset. > > > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > > > > > Kevin, > > > > > > > > > > > > > > Lesson 4 is/was based on Wix V3. Rob's reply refers to an > > > > > > > addition to > > > > > > > Wix3.5 though I would expect lesson 4 code probably still > > > > > > > applies > > > > > in V3.5. > > > > > > > Depending on which version of WiX you use will determine > > > > > > > what options you have for writing upgrades. > > > > > > > > > > > > > > Now, the key is where you place the RemoveExistingProducts > > > > > > > function as this directly affects exactly what happens. > > > > > > > If you schedule it early in the sequence then any existing > > > > > > > product is uninstalled in its entirety before your new > > > > > > > version is > > installed. > > > > > > > > > > > > > > If, as you have, schedule it late in the sequence then > > > > > > > basically what will happen is that the initial install > > > > > > > will remain with only files that have changed being > > affected/changed/removed. > > > > > > > > > > > > > > A quick search for RemoveExistingProducts should you the > > > > > > > location to > > > > > > > > > > > > schedule it early or late (I don't remember the location > > > > > > > off the top > > > > > > > > > > > > of my head). Note, there are advantages and disadvantages > > > > > > > of using it either way so you may also want to look into > > > > > > > that and decide which suits > > > > > > you best. > > > > > > > > > > > > > > If you are having specific issues with upgrading, can you > > > > > > > be more specific about what is, or isn't working? > > > > > > > Creating a verbose log when you run the installer may also > > > > > > > help you diagnose what's > > > > > happening. > > > > > > > > > > > > > > Chris > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 02/25/2011 11:05 AM, Kevin Burton wrote: > > > > > > > > What is the syntactic sugar? I thought I was following > > > > > > > > > > > > > > > > http://www.tramontana.co.hu/wix/lesson4.php#4.2 > > > > > > > > > > > > > > > > > > > > > > > > So the question is why doesn't this work (what am I missing)? > > > > > > > > And, > > > > > > > > > > > > > is there > > > > > > > a better way? > > > > > > > > > > > > > > > > For reference here is the WiX code that I am using: > > > > > > > > > > > > > > > > <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" > > /> > > > > > > > > <Upgrade Id='529189FE-FD0E-44ff-8DA6-B4FB5CC7A78B'> > > > > > > > > <UpgradeVersion Minimum="1.0.0.0" Maximum="3.0.0.0" > > > > > > > OnlyDetect='no' Property="PREVIOUSVERSIONSINSTALLED" > > > > > > > IncludeMinimum="yes" IncludeMaximum="no" /> > > > > > > > > </Upgrade> > > > > > > > > . . . . . > > > > > > > > <InstallExecuteSequence> > > > > > > > > <RemoveExistingProducts > > > > > > > After="InstallFinalize"></RemoveExistingProducts> > > > > > > > > </InstallExecuteSequence> > > > > > > > > > > > > > > > > Kevin Burton > > > > > > > > Senior Software Engineer BUYSEASONS > > > > > > > > 262-901-2000 Office > > > > > > > > 262-901-2312 Fax > > > > > > > > kev...@buyseasons.com > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > From: Rob Mensching [mailto:r...@robmensching.com] > > > > > > > > Sent: Thursday, February 24, 2011 10:34 PM > > > > > > > > To: General discussion for Windows Installer XML toolset. > > > > > > > > Subject: Re: [WiX-users] Uninstall an installed product. > > > > > > > > > > > > > > > > In WiX v3.5, MajorUpgrade element provides nice > > > > > > > > "syntactic > > sugar". > > > > > > > > Otherwise, you want to look at the Upgrade element. > > > > > > > > > > > > > > > > On Thu, Feb 24, 2011 at 10:22 AM, Kevin > > > > > > > Burton<kev...@buyseasons.com>wrote: > > > > > > > > > > > > > > > >> I know this is an old question but I don't know the WiX > > > > > > > >> syntax for automatically uninstalling an installed product. > > > > > > > >> I looked at the documentation and I got confused with > > > > > > > >> Major/Minor > > > > > > updates/upgrades. > > > > > > > >> In my case if the product is install I *always* want to > > > > > > > >> uninstall > > > > > > > > > > > > >> it before proceeding with the installation. Any hints? > > > > > > > >> > > > > > > > >> Kevin Burton > > > > > > > >> Senior Software Engineer BUYSEASONS > > > > > > > >> 262-901-2000 Office > > > > > > > >> 262-901-2312 Fax > > > > > > > >> kev...@buyseasons.com > > > > > > > >> > > > > > > > > > > > > > > > > -------------------------------------------------------- > > > > > > > > -- > > > > > > > > -- > > > > > > > > -- > > > > > > > > -- > > > > > > > > -- > > > > > > > > -- > > > > > > > > -- > > > > > > > > -------- Free Software Download: Index, Search& Analyze > > > > > > > > Logs and other IT data in Real-Time with Splunk. > > > > > > > > Collect, index and harness > > > > > > > > > > > > > all the fast moving IT data generated by your > > > > > > > > applications, servers and devices whether physical, > > > > > > > > virtual or in > the cloud. > > > > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > > > > _______________________________________________ > > > > > > > > WiX-users mailing list > > > > > > > > WiX-users@lists.sourceforge.net > > > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > > > ---------------------------------------------------------- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -------- Free Software Download: Index, Search & Analyze > > > > > > > Logs and other IT data in Real-Time with Splunk. Collect, > > > > > > > index and harness all the fast moving IT data generated by > > > > > > > your applications, servers and devices whether physical, > > > > > > > virtual or in the > > > cloud. > > > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > > > _______________________________________________ > > > > > > > WiX-users mailing list > > > > > > > WiX-users@lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > > > ---------------------------------------------------------- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -------- Free Software Download: Index, Search & Analyze > > > > > > > Logs and other IT data in Real-Time with Splunk. Collect, > > > > > > > index and harness all the fast moving IT data generated by > > > > > > > your applications, servers and devices whether physical, > > > > > > > virtual or in the > > > cloud. > > > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > > > _______________________________________________ > > > > > > > WiX-users mailing list > > > > > > > WiX-users@lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > > > > > > > > > > *** Confidentiality Notice: This e-mail, including any > > > > > > > associated or > > > > > > > > > > > > attached files, is intended solely for the individual or > > > > > > > entity to which it is > > > > > > addressed. > > > > > > > This e-mail is confidential and may well also be legally > > > > > > > privileged. > > > > > > > If you have received it in error, you are on notice of its status. > > > > > > > Please notify the sender immediately by reply e-mail and > > > > > > > then delete > > > > > > > > > > > > this > > > > > > message from your system. > > > > > > > Please do not copy it or use it for any purposes, or > > > > > > > disclose its contents to any other person. This email > > > > > > > comes from a division of the Invensys Group, owned by > > > > > > > Invensys plc, which is a company registered in England and > > > > > > > Wales with its registered office at 3rd Floor, 40 > > > > > > > Grosvenor Place, London, SW1X 7AW (Registered number > > > > > > > 166023). For a list of European legal entities within the > > > > > > > Invensys Group, please go to > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&pr > > > > > > > ev_id=77. > > > > > > > > > > > > > > You may contact Invensys plc on +44 (0)20 3155 1200 or > > > > > > > e-mail recept...@invensys.com. This e-mail and any > > > > > > > attachments thereto may be subject to the terms of any > > > > > > > agreements between Invensys (and/or its subsidiaries and > > > > > > > affiliates) and the recipient (and/or its subsidiaries and > > > > > > > affiliates). > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -------- Free Software Download: Index, Search & Analyze > > > > > > > Logs and other IT data in Real-Time with Splunk. Collect, > > > > > > > index and harness all the fast moving IT data generated by > > > > > > > your applications, servers and devices whether physical, > > > > > > > virtual or in the > > > cloud. > > > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > > > _______________________________________________ > > > > > > > WiX-users mailing list > > > > > > > WiX-users@lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > > > ---------------------------------------------------------- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -- > > > > > > > -------- Free Software Download: Index, Search & Analyze > > > > > > > Logs and other IT data in Real-Time with Splunk. Collect, > > > > > > > index and harness all the fast moving IT data generated by > > > > > > > your applications, servers and devices whether physical, > > > > > > > virtual or in the > > > cloud. > > > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > > > _______________________________________________ > > > > > > > WiX-users mailing list > > > > > > > WiX-users@lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------ > > > > > > -- > > > > > > -- > > > > > > -- > > > > > > -- > > > > > > -- > > > > > > -------- Free Software Download: Index, Search & Analyze > > > > > > Logs and other IT data in Real-Time with Splunk. Collect, > > > > > > index and harness all > > > > > > > > > > > the fast moving IT data generated by your applications, > > > > > > servers and devices whether physical, virtual or in the cloud. > > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > > _______________________________________________ > > > > > > WiX-users mailing list > > > > > > WiX-users@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------ > > > > > > -- > > > > > > -- > > > > > > -- > > > > > > -- > > > > > > -- > > > > > > -------- Free Software Download: Index, Search & Analyze > > > > > > Logs and other IT data in Real-Time with Splunk. Collect, > > > > > > index and harness all > > > > > > > > > > > the fast moving IT data generated by your applications, > > > > > > servers and devices whether physical, virtual or in the cloud. > > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > > _______________________________________________ > > > > > > WiX-users mailing list > > > > > > WiX-users@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > -------------------------------------------------------------- > > > > > -- > > > > > -- > > > > > -- > > > > > -- > > > > > -- > > > > > ------ > > > > > Free Software Download: Index, Search & Analyze Logs and other > > > > > IT data in Real-Time with Splunk. Collect, index and harness > > > > > all the fast moving IT data generated by your applications, > > > > > servers and devices whether physical, virtual or in the cloud. > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > _______________________________________________ > > > > > WiX-users mailing list > > > > > WiX-users@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > -------------------------------------------------------------- > > > > > -- > > > > > -- > > > > > -- > > > > > -- > > > > > -- > > > > > ------ > > > > > Free Software Download: Index, Search & Analyze Logs and other > > > > > IT data in Real-Time with Splunk. Collect, index and harness > > > > > all the fast moving IT data generated by your applications, > > > > > servers and devices whether physical, virtual or in the cloud. > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > _______________________________________________ > > > > > WiX-users mailing list > > > > > WiX-users@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------- > > > > > -- > > > > > -- > > > > > -- > > > > > -- > > > > > -------- Free Software Download: Index, Search & Analyze Logs > > > > > and other IT data in Real-Time with Splunk. Collect, index and > > > > > harness all the fast moving IT data generated by your > > > > > applications, servers and devices whether physical, virtual or > > > > > in the > cloud. > > > > > Deliver compliance at lower cost and gain new business insights. > > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > > _______________________________________________ > > > > > WiX-users mailing list > > > > > WiX-users@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------- > > > > -- > > > > -- > > > > -- > > > > -------- Free Software Download: Index, Search & Analyze Logs > > > > and other IT data in Real-Time with Splunk. Collect, index and > > > > harness all the fast moving IT data generated by your > > > > applications, servers and devices whether physical, virtual or in the > > > > cloud. > > > > Deliver compliance at lower cost and gain new business insights. > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > _______________________________________________ > > > > WiX-users mailing list > > > > WiX-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------- > > > > -- > > > > -- > > > > -- > > > > -------- Free Software Download: Index, Search & Analyze Logs > > > > and other IT data in Real-Time with Splunk. Collect, index and > > > > harness all the fast moving IT data generated by your > > > > applications, servers and devices whether physical, virtual or in the > > > > cloud. > > > > Deliver compliance at lower cost and gain new business insights. > > > > http://p.sf.net/sfu/splunk-dev2dev > > > > _______________________________________________ > > > > WiX-users mailing list > > > > WiX-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------ > > > -- > > > -- > > > -------- Free Software Download: Index, Search & Analyze Logs and > > > other IT data in Real-Time with Splunk. Collect, index and harness > > > all the fast moving IT data generated by your applications, > > > servers and devices whether physical, virtual or in the cloud. > > > Deliver compliance at lower cost and gain new business insights. > > > http://p.sf.net/sfu/splunk-dev2dev > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------ > > > -- > > > -- > > > -------- Free Software Download: Index, Search & Analyze Logs and > > > other IT data in Real-Time with Splunk. Collect, index and harness > > > all the fast moving IT data generated by your applications, > > > servers and devices whether physical, virtual or in the cloud. > > > Deliver compliance at lower cost and gain new business insights. > > > http://p.sf.net/sfu/splunk-dev2dev > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > -------------------------------------------------------------------- > > -- > > -------- Free Software Download: Index, Search & Analyze Logs and > > other IT data in Real-Time with Splunk. Collect, index and harness > > all the fast moving IT data generated by your applications, servers > > and devices whether physical, virtual or in the cloud. Deliver > > compliance at lower cost and gain new business insights. > > http://p.sf.net/sfu/splunk-dev2dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > -------------------------------------------------------------------- > > -- > > -------- What You Don't Know About Data Connectivity CAN Hurt You > > This paper provides an overview of data connectivity, details its > > effect on application quality, and explores various alternative solutions. > > http://p.sf.net/sfu/progress-d2d > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------- > -------- What You Don't Know About Data Connectivity CAN Hurt You This > paper provides an overview of data connectivity, details its effect on > application quality, and explores various alternative solutions. > http://p.sf.net/sfu/progress-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ---------------------------------------------------------------------- > -------- What You Don't Know About Data Connectivity CAN Hurt You This > paper provides an overview of data connectivity, details its effect on > application quality, and explores various alternative solutions. > http://p.sf.net/sfu/progress-d2d > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users