-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating the build tools for the PowerShell Shim
Signed-off-by: John <[email protected]>
- Loading branch information
1 parent
9bf6b09
commit 5fbee82
Showing
3 changed files
with
27 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,28 +7,28 @@ $pkg_upstream_url="https://visualstudio.microsoft.com/downloads/#build-tools-for | |
$pkg_license=@("Microsoft Software License") | ||
$pkg_maintainer="The Habitat Maintainers <[email protected]>" | ||
$pkg_source="https://aka.ms/vs/17/release/vs_BuildTools.exe" | ||
$pkg_shasum="d3ffaa4ec21a06d29b773e544c0c613df65b270ad30c036b623188a8b12dd745" | ||
$pkg_shasum="02f7788cb00c9e0aa87ce0c1e923f7b12921aa1f06d9f78261ee0e3e5c794332" | ||
$pkg_build_deps=@("core/7zip") | ||
|
||
$pkg_bin_dirs=@( | ||
"Contents\VC\Tools\MSVC\14.40.33810\bin\HostX64\x64", | ||
"Contents\VC\Redist\MSVC\14.40.33810\x86\Microsoft.VC142.CRT", | ||
"Contents\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64", | ||
"Contents\VC\Redist\MSVC\14.40.33807\x64\Microsoft.VC143.CRT", | ||
"Contents\MSBuild\Current\Bin" | ||
) | ||
$pkg_lib_dirs=@( | ||
"Contents\VC\Tools\MSVC\14.40.33810\atlmfc\lib\x86", | ||
"Contents\VC\Tools\MSVC\14.40.33810\lib\x86" | ||
"Contents\VC\Tools\MSVC\14.41.34120\atlmfc\lib\x64", | ||
"Contents\VC\Tools\MSVC\14.41.34120\lib\x64" | ||
) | ||
$pkg_include_dirs=@( | ||
"Contents\VC\Tools\MSVC\14.40.33810\atlmfc\include", | ||
"Contents\VC\Tools\MSVC\14.40.33810\include" | ||
"Contents\VC\Tools\MSVC\14.41.34120\atlmfc\include", | ||
"Contents\VC\Tools\MSVC\14.41.34120\include" | ||
) | ||
|
||
function Invoke-SetupEnvironment { | ||
Set-RuntimeEnv "DisableRegistryUse" "true" | ||
Set-RuntimeEnv "UseEnv" "true" | ||
Set-RuntimeEnv "VCToolsVersion" "14.40.33810" | ||
Set-RuntimeEnv -IsPath "VCToolsInstallDir_160" "$pkg_prefix\Contents\VC\Redist\MSVC\14.29.30133" | ||
Set-RuntimeEnv "VCToolsVersion" "14.41.34120" | ||
Set-RuntimeEnv -IsPath "VCToolsInstallDir_160" "$pkg_prefix\Contents\VC\Redist\MSVC\14.41.34120" | ||
} | ||
|
||
function Invoke-Unpack { | ||
|
@@ -53,7 +53,8 @@ function Invoke-Unpack { | |
"Microsoft.VisualStudio.Component.SQL.SSDTBuildSku", | ||
"Microsoft.VisualStudio.Component.VC.ATLMFC", | ||
"Microsoft.VisualStudio.Component.NuGet.BuildTools", | ||
"Microsoft.VisualStudio.Component.VC.CLI.Support" | ||
"Microsoft.VisualStudio.Component.VC.CLI.Support", | ||
"Microsoft.VisualStudio.Component.Windows11SDK.26100" | ||
) | ||
foreach ($component in $components) { | ||
$installArgs += " --add $component" | ||
|
31 changes: 16 additions & 15 deletions
31
habitat-win-10-sdk-x86/plan.ps1 → habitat-win-10-sdk-x64/plan.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,36 @@ | ||
$pkg_name="windows-10-sdk-x86" | ||
$pkg_name="windows-10-sdk-x64" | ||
$pkg_origin="chef" | ||
$pkg_version="10.0.17763" | ||
$pkg_description="The Windows 10 SDK for Windows 10, version 1809 (servicing release 10.0.17763.132) provides the latest headers, libraries, metadata, and tools for building Windows 10 apps" | ||
$pkg_upstream_url="https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk" | ||
$pkg_version="10.0.26100.0" | ||
$pkg_description="The Windows App SDK provides a unified set of APIs and tools that are decoupled from the OS and released to developers via NuGet packages. These APIs and tools can be used in a consistent way by any desktop app on Windows 11 and downlevel to Windows 10, version 1809" | ||
$pkg_upstream_url="https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/" | ||
$pkg_license=@("Microsoft Software License") | ||
$pkg_maintainer="The Habitat Maintainers <[email protected]>" | ||
$pkg_source="https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/winsdksetup.exe" | ||
$pkg_shasum="bbd1c41f9ebf518e4482c5c85a0de9ad7a72b596112c392911ef6054cb5d70d7" | ||
$pkg_source="https://go.microsoft.com/fwlink/?linkid=2272610" | ||
$pkg_filename="winsdksetup.exe" | ||
$pkg_shasum="5535188A9AEEA1CEBCBF04DE3C2C37D76F10600A65867FF65F6153D507B60488" | ||
$pkg_build_deps=@("core/lessmsi") | ||
|
||
$pkg_bin_dirs=@( | ||
"Windows Kits\10\bin\x86", | ||
"Windows Kits\10\bin\10.0.17763.0\x86" | ||
"Windows Kits\10\bin\x64", | ||
"Windows Kits\10\bin\10.0.26100.0\x64" | ||
) | ||
$pkg_lib_dirs=@( | ||
"Windows Kits\10\Lib\10.0.17763.0\um\x86", | ||
"Windows Kits\10\Lib\10.0.17763.0\ucrt\x86" | ||
"Windows Kits\10\Lib\10.0.26100.0\um\x64", | ||
"Windows Kits\10\Lib\10.0.26100.0\ucrt\x64" | ||
) | ||
$pkg_include_dirs=@( | ||
"Windows Kits\10\Include\10.0.17763.0\shared", | ||
"Windows Kits\10\Include\10.0.17763.0\ucrt", | ||
"Windows Kits\10\Include\10.0.17763.0\um", | ||
"Windows Kits\10\Include\10.0.17763.0\winrt" | ||
"Windows Kits\10\Include\10.0.26100.0\shared", | ||
"Windows Kits\10\Include\10.0.26100.0\ucrt", | ||
"Windows Kits\10\Include\10.0.26100.0\um", | ||
"Windows Kits\10\Include\10.0.26100.0\winrt" | ||
) | ||
|
||
function Invoke-SetupEnvironment { | ||
Set-RuntimeEnv -IsPath "WindowsSdkDir_10" "$pkg_prefix\Windows Kits\10" | ||
} | ||
|
||
function Invoke-Unpack { | ||
Start-Process "$HAB_CACHE_SRC_PATH/$pkg_filename" -Wait -ArgumentList "/features OptionId.DesktopCPPx86 /quiet /layout $HAB_CACHE_SRC_PATH/$pkg_dirname" | ||
Start-Process "$HAB_CACHE_SRC_PATH/$pkg_filename" -Wait -ArgumentList "/features OptionId.DesktopCPPx64 /quiet /layout $HAB_CACHE_SRC_PATH/$pkg_dirname" | ||
Push-Location "$HAB_CACHE_SRC_PATH/$pkg_dirname" | ||
try { | ||
Get-ChildItem "$HAB_CACHE_SRC_PATH/$pkg_dirname/installers" -Include *.msi -Recurse | ForEach-Object { | ||
|
This file was deleted.
Oops, something went wrong.