Here is some more information on what I've tried. I've tried to set the UpgradeCode in <Product based on which version I'm building and then provide two <Upgrade blocks with the different ids...
<? <? <? <? <? if$(var.Edition) = "FreeVersion"?>defineMyUpgradeGUID = "02568C14-8127-46ca-AC60-2895523DC97F" ?>else?>defineMyUpgradeGUID = "C73E4812-7F27-42ba-A4A2-E798175656F4"?>endif?><ProductId="6DFD80B3-B788-440a-AC43-D33607ED37CE"UpgradeCode="$(var.MyUpgradeGUID)"Name="My product"Version="$(var.Version)"Manufacturer="My Company"< <UpgradeId="02568C14-8127-46ca-AC60-2895523DC97F">UpgradeVersionOnlyDetect="no"Property="REPLACE_FREE_FOUND" Minimum="1.0.0"IncludeMinimum="yes" < Maximum="$(var.Version)"IncludeMaximum="yes"/>UpgradeVersionOnlyDetect="yes"Property="NEWER_FREE_FOUND"</ ifnot $(var.Edition) = "FreeVersion" ?>UpgradeId="C73E4812-7F27-42ba-A4A2-E798175656F4">UpgradeVersionOnlyDetect="no"Property="REPLACEFOUND" Minimum="1.0.0"IncludeMinimum="yes" < Maximum="$(var.Version)"IncludeMaximum="yes"/>UpgradeVersionOnlyDetect="yes"Property="NEWERFOUND" </ <? Minimum="1.0.0"IncludeMinimum="no"/>Upgrade>endif?> Regardless of which msi file I use and what I set var.Verson to for either I get the standard installer dialog that says: "Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel". Thanks, Brian ________________________________ From: Brian Williams <brianjackiewilli...@yahoo.com> To: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Mon, August 16, 2010 4:42:17 PM Subject: [WiX-users] Product Upgrade Delima All, I'm still relatively new using WiX but it seems to have everything I need... but I'm struggling with getting a .MSI file to upgrade the way I want. I have two versions of my product - one "Free" version which has limitations and one "Registered" full version. I know which version I'm building during the WiX build... I want the "Registered Version" to upgrade the "Free Version" even if they are at the same release level - but not the other way around. But I also want to make sure later releases of either version can upgrade the old releases... Preferably these upgrades would happen double clicking the MSI file and not with some command line in a setup file... I'm sure this has been done a hundred times - so the quick answer would be appreciated before I spend too much time re-inventing the wheel... Thanks in advance, Brian ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users <? < < Minimum="1.0.0"IncludeMinimum="no"/>Upgrade>Language="1033"> ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users