Skip to content

Commit c9c71ae

Browse files
compnerdbnbarham
authored andcommitted
utils: adjust installer build and staging
Update the property to include the SDK MSI for Windows as we start adding additional platforms. Update the file name patterns to reflect the new naming. (cherry picked from commit 99d0221)
1 parent 5578210 commit c9c71ae

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

utils/build.ps1

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2711,7 +2711,7 @@ function Build-Installer($Arch) {
27112711
}
27122712

27132713
foreach ($SDK in $WindowsSDKArchs) {
2714-
$Properties["INCLUDE_$($SDK.VSName.ToUpperInvariant())_SDK"] = "true"
2714+
$Properties["INCLUDE_WINDOWS_$($SDK.VSName.ToUpperInvariant())_SDK"] = "true"
27152715
$Properties["PLATFORM_ROOT_$($SDK.VSName.ToUpperInvariant())"] = "$($SDK.PlatformInstallRoot)\"
27162716
$Properties["SDK_ROOT_$($SDK.VSName.ToUpperInvariant())"] = "$($SDK.SDKInstallRoot)\"
27172717
}
@@ -2722,11 +2722,9 @@ function Build-Installer($Arch) {
27222722
function Stage-BuildArtifacts($Arch) {
27232723
Copy-File "$($Arch.BinaryCache)\installer\Release\$($Arch.VSName)\*.cab" "$Stage\"
27242724
Copy-File "$($Arch.BinaryCache)\installer\Release\$($Arch.VSName)\*.msi" "$Stage\"
2725-
Copy-File "$($Arch.BinaryCache)\installer\Release\$($Arch.VSName)\rtl.cab" "$Stage\"
2726-
Copy-File "$($Arch.BinaryCache)\installer\Release\$($Arch.VSName)\rtl.msi" "$Stage\"
27272725
foreach ($SDK in $WindowsSDKArchs) {
2728-
Copy-File "$($Arch.BinaryCache)\installer\Release\$($SDK.VSName)\sdk.$($SDK.VSName).cab" "$Stage\"
2729-
Copy-File "$($Arch.BinaryCache)\installer\Release\$($SDK.VSName)\sdk.$($SDK.VSName).msi" "$Stage\"
2726+
Copy-File "$($Arch.BinaryCache)\installer\Release\$($SDK.VSName)\sdk.windows.$($SDK.VSName).cab" "$Stage\"
2727+
Copy-File "$($Arch.BinaryCache)\installer\Release\$($SDK.VSName)\sdk.windows.$($SDK.VSName).msi" "$Stage\"
27302728
Copy-File "$($Arch.BinaryCache)\installer\Release\$($SDK.VSName)\rtl.$($SDK.VSName).msm" "$Stage\"
27312729
}
27322730
Copy-File "$($Arch.BinaryCache)\installer\Release\$($Arch.VSName)\installer.exe" "$Stage\"

0 commit comments

Comments
 (0)