diff options
author | Simon Tatham <anakin@pobox.com> | 2022-10-12 21:42:09 +0300 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2022-10-12 22:01:17 +0300 |
commit | 0615767224a5a5234b1916d45eca29cec1fe4a59 (patch) | |
tree | e7f804754ece5cc50646cd989645bcfeca77882a | |
parent | 9fcfd679b49a015e95f70b3f0380243e0db8b035 (diff) |
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.
-rw-r--r-- | windows/installer.wxs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/windows/installer.wxs b/windows/installer.wxs index c7231b02..65a7f379 100644 --- a/windows/installer.wxs +++ b/windows/installer.wxs @@ -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 |