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

Edwin Castro egcastr at gmail.com
Fri Mar 16 07:07:16 PDT 2018


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/
>


More information about the wix-users mailing list