Skip to content

Commit 1c2cc68

Browse files
committed
utils: correctly stage MSMs for Windows Runtime
Ensure that we stage all the MSMs for the Windows Runtime distribution. This enables us to consider online installers which would allow users to select subsets of the installer to download when needed.
1 parent 90387c9 commit 1c2cc68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/build.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3169,7 +3169,9 @@ function Build-Installer([Hashtable] $Platform) {
31693169
function Copy-BuildArtifactsToStage([Hashtable] $Platform) {
31703170
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($Platform.Architecture.VSName)\*.cab" $Stage
31713171
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($Platform.Architecture.VSName)\*.msi" $Stage
3172-
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($Platform.Architecture.VSName)\*.msm" $Stage
3172+
foreach ($SDKPlatform in $WindowsSDKPlatforms) {
3173+
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($SDKPlatform.Architecture.VSName)\*.msm" $Stage
3174+
}
31733175
Copy-File "$BinaryCache\$($Platform.Triple)\installer\Release\$($Platform.Architecture.VSName)\installer.exe" $Stage
31743176
# Extract installer engine to ease code-signing on swift.org CI
31753177
if ($ToBatch) {

0 commit comments

Comments
 (0)