Unfortunately it doesn't look like my idea to use MsiConfigureProduct in a custom action is going to work - it's not allowed and complains that an installation is already in progress. How would I use a bootstrapper to get around this limitation?
-Dave Wright On Sun, Feb 22, 2009 at 2:07 PM, Dave Wright <d...@jungledisk.com> wrote: > Thanks, I was afraid of that. I'll look into using > MsiEnumRelatedProducts. Would the correct procedure be to then simply > call: > MsiConfigureProduct(product, INSTALLLEVEL_DEFAULT, INSTALLSTATE_ABSENT) > > ..in order to uninstall the previous product prior to install? > > -Dave Wright > > On Sun, Feb 22, 2009 at 1:43 PM, Bob Arnson <b...@joyofsetup.com> wrote: > > Dave Wright wrote: > >> Our application is currently installed as perUser, however we want to > >> switch to perMachine in the next upgrade. > >> > > > > There's no support in MSI to do "cross-context" upgrades. The only way > > to do it is from a bootstrapper/chainer using the MsiEnumRelatedProducts > > function, which works without the knowledge of per-user/per-machine of > > the new package. > > > > -- > > sig://boB > > http://joyofsetup.com/ > > > > > > > > > ------------------------------------------------------------------------------ > > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > > -Strategies to boost innovation and cut costs with open source > participation > > -Receive a $600 discount off the registration fee with the source code: > SFAD > > http://p.sf.net/sfu/XcvMzF8H > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users