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