From 1beca864d362625f983cc9465125124ffada4ae2 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Thu, 26 Sep 2019 22:11:03 +0100 Subject: [PATCH] Force WiX to use per-machine installation. Without this line any .msi that Athanasius built on his machine and tried to install in place of an upstream .msi would install files along side it resulting in a thoroughly broken install. This was tracked down using: msiexec /i "EDMarketConnector_win_343.msi" /L*vx installer-upstream343_to_py3-343.log and then noticing the following in the log file: FindRelatedProducts: current install is per-user. Related install for product '{69825809-42A3-4FFD-8CDD-977AA84FF94D}' is per-machine. Skipping... Note that Athanasius uses a 'Limited' Windows 10 Home account, and was getting UAC prompts no matter which .msi was installed. They all also installed into "C:\Program Files (x86)\EDMarketConnector\". The remaining puzzle is why Otis' .msi files install per-machine by default in this environment, or why Athanasius' install per-user without this extra stanza. --- EDMarketConnector.wxs | 1 + 1 file changed, 1 insertion(+) diff --git a/EDMarketConnector.wxs b/EDMarketConnector.wxs index 2ddeef5e..9130e73d 100644 --- a/EDMarketConnector.wxs +++ b/EDMarketConnector.wxs @@ -14,6 +14,7 @@ Manufacturer="Marginal">