Or see the WiX documentation -> http://wix.sourceforge.net/manual-wix3/major_upgrade.htm
Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 03 August 2010 13:25 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Update Detection Yes you need an upgrade section and to schedule RemoveExistingProducts, there is an example here: http://neilsleightholm.blogspot.com/2009/01/wix-script-for-major-upgrade s.html Neil -----Original Message----- From: Lukas Haase [mailto:lukasha...@gmx.at] Sent: 03 August 2010 12:01 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Update Detection Hi, It was mentioned a few times on this list that if the UpgradeCode stays the same, MSI performes an upgrade. This is my preamble: <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> <Product Name='Test' Id='*' UpgradeCode='$(var.UpgradeCode)' Language='1031' Codepage='1252' Version='1.0.0' Manufacturer='Test'> <Package Id='*' Keywords='Installer' Description="Test" Comments='...' Manufacturer='Hamsoft' InstallerVersion='100' Languages='1031' Compressed='yes' SummaryCodepage='1252' /> The upgradecode is defined successfully with <?define UpgradeCode = and also Orca shows the correct code. So now I just call the compiler a second time such that a new Product Id is generated and the UpgradeCode stays the same. Normally this should yield a major upgrade and the product should be upgraded. But the Installer does not detect the old version and the new version is even installed *over* the old one (into the same directory!). In the control panel/software there are two uninstaller icons now... Is there anything else I need to take care? Regards, Luke ------------------------------------------------------------------------ ------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users