FYI, I finally did get this working. I had to move the Custom Action to the UI sequence so that the uninstall would run before the install sequence started. Seems to be working OK now.
-Dave Wright On Mon, Feb 23, 2009 at 2:29 PM, Wilson, Phil <phil.wil...@wonderware.com>wrote: > That's correct, and you may want to first use MsiSetInternalUI if you don't > want whatever the default UI turns out to be. > > Phil Wilson > > > -----Original Message----- > From: Dave Wright [mailto:d...@jungledisk.com] > Sent: Sunday, February 22, 2009 11:08 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Switching from a perUser to perMachine install > during upgrade > > 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 > > > > > ------------------------------------------------------------------------------ > 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