That's really a function of when you schedule RemoveExistingProducts (which is handled by the Schedule attribute in the MajorUpgrade element). Read the descriptions for "Schedule" and see which one fits the model of deployment you want. If you want the old install to remain if the upgrade fails, you probably want "afterInstallInitialize" which will roll back into the pre-existing install on upgrade failure. The backing up and restoring is handled for you. You just need to select the appropriate scheduling for what you want. -- John M. Cooper
-----Original Message----- From: David P. Romig, Sr. [mailto:d...@tcsc.com] Sent: Monday, December 19, 2011 2:57 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WiX 3.6 major upgrade backup and restore I have written custom actions that backup and restore user-managed files and folders associated with my application's operation. The Setup.wxs file uses the MajorUpgrade tag. What InstallExecuteSequence entries would invoke the Backup custom action before an upgrade and the Restore action after an upgrade? Dave ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users