>From the sound of it you would actually have to do some custom work around the modify scenario. You don't want to install the actual bits more than once, correct?
Sent from my Windows Phone From: CoolBreeze Sent: Thursday, June 23, 2011 6:55 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Issue with MajorUpdate Element As I understand from the Wix docs that when the MajorUpdate element is used with the attribute AllowSameVersionUpgrades="no" that I should be able to run my installer a second time and the new installation would be treated by MSI as a new product independent from the previous one. I'm not finding this to be the case though. I have an installer that I'm trying to get to work in this manner, without going the route of "Multiple Instances". I really don't understand that to well and from what I've read it's not a straightforward process anyway. My installer installs a web application under the Virtual Directory I specify within the UI. What I'm trying to do is run the installer specify the virtual directory for the install, then run the installer again and specify a different virtual directory for this new install. The reason for this is to support multiple brands. What happens is when I run the installer a second time it's just upgrading the previous install and not installing this as a new installation. Here is a snippet of my Product.wxs. <Product Id="*" Name="!(loc.ProductName)" Language="!(loc.LANG)" Version="1.0.4.0" Manufacturer="!(loc.CompanyName)" UpgradeCode="6CA6DCE8-7A1F-427F-B2A5-44D416B5AD14"> <Package InstallerVersion="405" Compressed="yes" Manufacturer="!(loc.CompanyName)" Description="!(loc.Description)" Keywords="!(loc.Keywords)" Comments="!(loc.CompanyName)" /> <Property Id="PREVIOUSVERSIONINSTALLED" Secure="yes" /> <Upgrade Id="6CA6DCE8-7A1F-427F-B2A5-44D416B5AD14"> <UpgradeVersion Property="PREVIOUSVERSIONINSTALLED" Minimum="!(loc.ProductMinVersion)" Maximum="!(loc.ProductMaxVersion)" IncludeMaximum="no" IncludeMinimum="yes" OnlyDetect="no" IgnoreRemoveFailure="no" MigrateFeatures="yes" Language="1033" /> </Upgrade> ConditionCheck.wxi. <MajorUpgrade AllowSameVersionUpgrades="no" DowngradeErrorMessage="Can't downgrade."/> This is referenced within the docs. http://wix.sourceforge.net/manual-wix3/wix_xsd_majorupgrade.htm ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users