1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

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.
This commit is contained in:
Athanasius 2019-09-26 22:11:03 +01:00
parent 0272c591b6
commit 1beca864d3

View File

@ -14,6 +14,7 @@
Manufacturer="Marginal">
<Package Id="*" Keywords="Installer"
InstallScope="perMachine"
Description="$(var.PRODUCTLONGNAME) installer"
InstallerVersion="300" Compressed="yes"
Platform="x86"