Ah so the old installer is the problem then not your new one. This will be why people like Rob M. & Bob A say you should test upgrades before you ship your first product (step 4 at http://wix.sourceforge.net/manual-wix3/major_upgrade.htm & http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/)
2 solutions to this I can think of. 1 - you patch (MSP) the old installer rather than upgrade (MSI). This should let you get rid of the broken RemoveFile entries for those files & everything will be right in the world. You can then use upgrades for all your future releases if you so wish. 2 - you create a Custom Action which backs up the Settings.xml file before RemoveExistingProducts, let the old installer wipe it & then replace it with another Custom Action after RemoveExistingProducts has done it's thing. Normally I wouldn't condone Custom Actions but if you're adamant on using an upgrade it doesn't look like you have much choice. You should be able to create these Custom Actions using DTF pretty easily. Good luck. 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: Joshua Chambers [mailto:jos...@tdronline.com] Sent: 01 June 2010 19:16 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] InstallExecuteSequence problem! I have already tried this! I have been through several rounds of it, and the problem is that if RemoveExistingProducts is set after InstallFinalize (which makes the Settings.xml file remain intact), the CompanionFile does work to show that the file is replaced, however, the Pathways.MDF file then gets REMOVED when RemoveExistingProducts happens, so the file is again GONE. For both Pathways.MDF and Settings.XML, the OLD installer had a RemoveFile tag for each. I can get EITHER the settings file to remain OR the database files to be gone, but cannot get both. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/InstallExe cuteSequence-problem-tp5126839p5127342.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users