Skip to content

Commit aad7743

Browse files
committed
WiX: switch to per-user MSIs for the toolchain
This adjusts the toolchain MSI packaging to use per-user installs rather than per-machine. While per-machine scope is preferable, this allows us to drop the requirement for Administrator rights. Longer term, we would want dual-purpose MSIs when we can drive that from the bootstrapper UI.
1 parent 2f20532 commit aad7743

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

platforms/Windows/bld.wxs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name="Swift Build Tools"
77
UpgradeCode="7e95dc06-7f84-4e8e-a038-8304af0468fb"
88
Version="$(var.ProductVersion)"
9-
Scope="perUserOrMachine">
9+
Scope="perUser">
1010
<SummaryInformation Description="Swift Build Tools" />
1111

1212
<!--

platforms/Windows/cli.wxs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name="Swift Command Line Tools"
77
UpgradeCode="87019842-3f3e-4227-b5c5-23a8ef72ad89"
88
Version="$(var.ProductVersion)"
9-
Scope="perUserOrMachine">
9+
Scope="perUser">
1010
<SummaryInformation Description="Swift Command Line Tools" />
1111

1212
<Media Id="1" Cabinet="cli.cab" EmbedCab="yes" CompressionLevel="high" />

platforms/Windows/dbg.wxs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name="Swift Debugging Tools"
77
UpgradeCode="91d382af-1e92-44dc-a4ad-aee91c1b5160"
88
Version="$(var.ProductVersion)"
9-
Scope="perUserOrMachine">
9+
Scope="perUser">
1010
<SummaryInformation Description="Swift Debugging Tools" />
1111

1212
<Media Id="1" Cabinet="dbg.cab" EmbedCab="yes" CompressionLevel="high" />

platforms/Windows/ide.wxs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name="Swift IDE Integration Tools"
77
UpgradeCode="8dd91c86-d13d-490b-b06b-9522a9cf504c"
88
Version="$(var.ProductVersion)"
9-
Scope="perUserOrMachine">
9+
Scope="perUser">
1010
<SummaryInformation Description="Swift IDE Integration Tools" />
1111

1212
<Media Id="1" Cabinet="ide.cab" EmbedCab="yes" CompressionLevel="high" />

platforms/Windows/runtime.wxs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
Name="Swift Windows Runtime ($(var.ProcessorArchitecture))"
77
UpgradeCode="bea8c6dc-f73e-445b-9486-2333d1cf2886"
88
Version="$(var.ProductVersion)"
9-
Scope="perUserOrMachine">
9+
Scope="perUser">
1010
<SummaryInformation Description="Swift Windows Runtime ($(var.ProcessorArchitecture))" />
1111

1212
<Media Id="1" Cabinet="runtime.cab" EmbedCab="yes" CompressionLevel="high" />
1313

14-
<StandardDirectory Id="ProgramFiles6432Folder">
14+
<StandardDirectory Id="ProgramFilesFolder">
1515
<Directory Id="INSTALLDIR" Name="Swift">
1616
<Directory Id="Runtimes" Name="Runtimes">
1717
<Directory Id="_" Name="$(var.ProductVersion)">

platforms/Windows/sdk.wxs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Name="Swift Windows SDK ($(var.ProcessorArchitecture))"
77
UpgradeCode="4c37a396-d9e2-490a-89b7-0a3d271d847f"
88
Version="$(var.ProductVersion)"
9-
Scope="perUserOrMachine">
9+
Scope="perUser">
1010
<SummaryInformation Description="Swift Windows SDK ($(var.ProcessorArchitecture))" />
1111

1212
<Media Id="1" Cabinet="WindowsSDK.cab" EmbedCab="yes" CompressionLevel="high" />

0 commit comments

Comments
 (0)