[wix-users] preventing double installs: per-machine & per-user both getting installed
Wheeler, Blaine (DSHS/DCS)
BWheeler at dshs.wa.gov
Fri Mar 16 07:50:00 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
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
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users