You could also split your optional features into separate MSIs and use Burn to control their installation behaviour, which may be easier in the long run than trying to fight what windows installer is intended to do. You would probably need a custom BA though.
-----Original Message----- From: Fyodor Koryazhkin [mailto:fyodor...@gmail.com] Sent: 17 October 2014 08:03 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix Upgrade Issue HI, I never implemented this my self but try to do the following: 1. Use Minor upgrade instead of Major upgrade. (by definition Major upgrade is completely new installation that installs everything from scratch allowing to uninstall old versions and therefore when you choose particular features only they get installed) 2. In some place in UI sequence* after feature selection* dialog repopulate(write some custom action) ADDLOCAL, REMOVE and REINSTALL properties so that: a. ADDLOCAL and REMOVE will be empty b. REINSTALL will contain features that user selected in dialog 3. Repopulate REINSTALLMODE property so that include "v" (this will run installation from the source package and not from cached msi and at the end recaches msi to new one). I hope this should work > > ---------- Forwarded message ---------- > From: "祁志" <qizhi1...@gmail.com> > To: wix-users@lists.sourceforge.net > Cc: > Date: Fri, 17 Oct 2014 10:26:16 +0800 > Subject: [WiX-users] Wix Upgrade Issue Hi All, > > Here is a scenario that i want to implement.but i don't have good idea > to implement this. > > let's say that someone get a installer and install it today. tomorrow > someone get a new installer with the higher version number want to > install it on the same PC. the installer with the higher version need > to do the following things. > > 1. there should have a dialog to let user choose which modules to > upgrade. > 2. update those modules base on the user's selection, but don't delete > other modules that user don't select. > > i have tried use Majorupgrade element to implement this. but it always > delete the modules that we don't select. see below: > > for example .in the previously version we selected *feature A* and > *feature > B* to be installed. and in the new version we only choose *feature A* > to update. the *feature a* was updated successfully , but it deleted > the feature B at same time. > > Is there anyone have a good idea to implement this? > > Thanks in advance! > > > > ---------------------------------------------------------------------- > -------- Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- Regards, Fyodor Koryazhkin.. ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. This message has been scanned for malware by Websense. www.websense.com ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users