That error is just enforcing an ICE rule that says you cannot use the same property name in multiple upgrade table entries. You need a unique property name for each of the upgrade rows. Phil W
-----Original Message----- From: Vern Graner [mailto:v...@txis.com] Sent: Tuesday, February 12, 2013 9:26 AM To: WiX-users@lists.sourceforge.net Subject: Re: [WiX-users] Question on multiple targets for "Upgrade ID"? Phil: Thanks for getting back with me. I reviewed the link you sent and you are right, it seems like I should be able to use multiple <upgrade> tags in the same MSI as shown here: <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="*" UpgradeCode="$(var.ProductUpgradeCode)" Name="MultiProduct Suite test" Version="$(var.ProductVersion)" Manufacturer="Test Company" Language="1033"> <Package InstallerVersion="200" Compressed="yes" Comments="Windows Installer Package" /> <Media Id="1" Cabinet="product.cab" EmbedCab="yes" /> <Upgrade Id="29EB2608-6ACA-54F3-8309-CA2B3BBCF9FC"> <UpgradeVersion Minimum="$(var.ProductVersion)" OnlyDetect="yes" Property="NEWERVERSIONDETECTED" /> <UpgradeVersion Minimum="0.0.0" Maximum="$(var.ProductVersion)" IncludeMinimum="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED" /> </Upgrade> <Upgrade Id="B7841B45-0177-4319-AF4A-594EE33B059C"> <UpgradeVersion Minimum="$(var.ProductVersion)" OnlyDetect="yes" Property="NEWERVERSIONDETECTED" /> <UpgradeVersion Minimum="0.0.0" Maximum="$(var.ProductVersion)" IncludeMinimum="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED" /> </Upgrade> <Upgrade Id="63CCD546-72A6-9C4E-BF0D-7BCDEE05EE9A"> <UpgradeVersion Minimum="$(var.ProductVersion)" OnlyDetect="yes" Property="NEWERVERSIONDETECTED" /> <UpgradeVersion Minimum="0.0.0" Maximum="$(var.ProductVersion)" IncludeMinimum="yes" IncludeMaximum="no" Property="OLDERVERSIONBEINGUPGRADED" /> </Upgrade> <Condition Message="A newer version of this software is already installed."> NOT NEWERVERSIONDETECTED </Condition> Produces the following when compiled in WiX edit: ----- Starting C:\Program Files\WixEdit\wix-3.0.5419.0\candle.exe -nologo "K:\MSI Packages\MSI_Prompt\UPGRADE-TEST.XML" -out "K:\MSI Packages\MSI_Prompt\UPGRADE-TEST.wixobj" -ext WixUIExtension at 2/12/2013 9:51:46 AM UPGRADE-TEST.XML Done in: 296 ms ----- Starting C:\Program Files\WixEdit\wix-3.0.5419.0\light.exe -nologo "K:\MSI Packages\MSI_Prompt\UPGRADE-TEST.wixobj" -out "K:\MSI Packages\MSI_Prompt\UPGRADE-TEST.msi" -ext WixUIExtension at 2/12/2013 9:51:46 AM K:\MSI Packages\MSI_Prompt\UPGRADE-TEST.XML(30) : error LGHT0204 : ICE61: Upgrade.ActionProperty NEWERVERSIONDETECTED may be used in only one record of the Upgrade table. K:\MSI Packages\MSI_Prompt\UPGRADE-TEST.XML(33) : error LGHT0204 : ICE61: Upgrade.ActionProperty OLDERVERSIONBEINGUPGRADED may be used in only one record of the Upgrade table. ----- Finished Error in light On 2/11/2013 8:50 PM, Phil Wilson wrote: > There's nothing about the underlying Upgrade table in the MSI file > that prevents one product from upgrading several. > > http://msdn.microsoft.com/en-us/library/windows/desktop/aa372379(v=vs. > 85).as > px > > Phil > > -----Original Message----- > From: Vern Graner [mailto:v...@txis.com] > Sent: Monday, February 11, 2013 5:02 PM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Question on multiple targets for "Upgrade ID"? > > Hi all. I'm hoping someone here can answer this- A quick summary: > > The company for which I work had a suite of products that were widely > distributed with their own individual MSIs- each with a unique Upgrade > Code (i.e. Product1 w/UpgradeCode1, Product2 w/UpgradeCode2, Product3 > w/UpgradeCode3. > > They now are bundling all three of these individual products into a > new single product suite. They would like to have this new "suite" MSI > search for and replace ALL of the earlier individual product MSIs it finds. > > I have created an MSI that will take an Upgrade ID="{GUID}" and will > find and replace a *single* product, but I need this to find/remove > all three products before proceeding with the suite install. Is this even possible? > > Thanks in advance for any insight you folks can offer! > > Vern > -- Vern Graner CNE/CNA/SSE | "If the network is down, then you're Senior Systems Engineer | obviously incompetent so why are we Texas Information Services | paying you? Of course, if the network http://www.txis.com | is up, then we obviously don't need Austin Office 512 328-8947 | you, so why are we paying you?" CVLG ---------------------------------------------------------------------------- -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users