[wix-users] preventing double installs: per-machine & per-user both getting installed

Alan Sinclair anadem at gmail.com
Sat Mar 17 13:01:08 PDT 2018


*>  Have you considered wrapping your MSI in a Burn bundle that does the
detection, or write a UI for the MSI the runs a custom action early in its
life *

Management decided we can't use Burn
Can a custom action DLL be run before the UI Sequence, and have input into
the UI? (I'm rusty but thought/imagined DLLs were run after the UISequence)


*>  Also I don't think it's possible to detect other users per-user
installed products *

Does that apply only to FindRelatedProducts, or also apply to a custom
action calling MsiGetProductInfoEx ?

Many thanks to all!

On Fri, Mar 16, 2018 at 9:02 AM, Hoover, Jacob via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Also I don't think it's possible to detect other users per-user installed
> products.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Wheeler, Blaine (DSHS/DCS) via wix-users
> Sent: Friday, March 16, 2018 9:50 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Wheeler, Blaine (DSHS/DCS) <BWheeler at dshs.wa.gov>
> Subject: Re: [wix-users] preventing double installs: per-machine &
> per-user both getting installed
>
> Have you considered wrapping your MSI in a Burn bundle that does the
> detection, or write a UI for the MSI the runs a custom action early in its
> life
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Edwin Castro via wix-users
> Sent: Friday, March 16, 2018 7:07 AM
> To: WiX Toolset Users Mailing List
> Cc: Edwin Castro
> Subject: Re: [wix-users] preventing double installs: per-machine &
> per-user both getting installed
>
> Intetesting. Sounds like a chicken and egg problem. We don't know the
> context until the user selects it and at that point it is too late to have
> standard actions enforce the previous context.
>
> --
> Edwin G. Castro
>
>
>
> On Fri, Mar 16, 2018, 00:32 Nir Bar via wix-users <
> wix-users at lists.wixtoolset.org> wrote:
>
> > FindRelatedProducts only enumerates products on the same context.
> >
> > To find products on any context, develop a custom action:
> > Call MsiEnumRelatedProducts to enumerate products with the same
> > UpgradeCode as your product.
> > Call MsiGetProductInfoEx to get context of each product.
> >
> >
> >
> >
> >
> > --
> > Nir Bar, Independent WiX Expert. Creator of-
> > JetBA: WiX WPF Bootstrapper User Interface Framework
> >
> > JetBA++: WiX Native Bootstrapper User Interface Framework
> >
> >
> >
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list