1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Windows installer: remove explicit InstallScope setting.

It turns out this isn't actually necessary after all to make the
installer behave in the expected way in the default case (giving a UAC
prompt and installing systemwide). And I'm told it has undesirable
consequences in more complicated cases, which I'm not expert enough in
MSI to fully understand.
This commit is contained in:
Simon Tatham 2022-10-12 19:42:09 +01:00
parent 9fcfd679b4
commit 0615767224

View File

@ -121,12 +121,6 @@
Language="1033" Codepage="1252" Version="$(var.Winver)">
<!--
We force the install scope to perMachine, largely because I
don't really understand how to make it usefully switchable
between the two. If anyone is a WiX expert and does want to
install PuTTY locally in a user account, I hope they'll send a
well explained patch!
$(var.Puttytextver) is again defined on the candle command
line, and describes the version of PuTTY in human-readable
form, e.g. "PuTTY 0.67" or "PuTTY development snapshot [foo]".
@ -135,8 +129,7 @@
Description="$(var.Puttytextver) installer"
Manufacturer="Simon Tatham"
InstallerVersion="$(var.InstallerVersion)" Languages="1033"
Compressed="yes" SummaryCodepage="1252"
InstallScope="perMachine" />
Compressed="yes" SummaryCodepage="1252" />
<!--
Permit installing an arbitrary one of these PuTTY installers