Good point, but at this point I'm happy to have something that works at all.
It's really just a stop-gap to get us through this upgrade cycle and won't
be needed once everyone is on perMachine.
-Dave
On Mon, Feb 23, 2009 at 6:52 PM, Bob Arnson wrote:
> Dave Wright wrote:
> > FYI, I finally did
Dave Wright wrote:
> 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.
>
Understand that it won't run during passive or silent installations.
--
sig://boB
ows 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(pro
or 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, INSTA
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
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
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, wh
Our application is currently installed as perUser, however we want to
switch to perMachine in the next upgrade.
The problem is that FindRelatedProducts/RemoveExistingProducts does
not appear to find the previous (perUser) install when installing the
new (perMachine) install, even when installing un
8 matches
Mail list logo