Skip to content

Commit 8d3a1d9

Browse files
authored
Update build-windows-toolchain.bat
1 parent a909a26 commit 8d3a1d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/build-windows-toolchain.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,8 @@ endlocal
819819
:FetchX64Toolchain
820820
setlocal enableextensions enabledelayedexpansion
821821

822+
dotnet tool list -g | findstr wix
823+
IF NOT %ERRORLEVEL% EQU 0 DO ( dotnet tool install -g wix || (exit /b) )
822824
curl.exe -sOL "https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a/swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a-windows10.exe" || (exit /b)
823825
"%UserProfile%\.nuget\packages\wix\4.0.1\tools\net6.0\any\wix.exe" burn extract swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a-windows10.exe -o "%BuildRoot%\toolchains" || (exit /b)
824826
msiexec.exe /qn /a "%BuildRoot%\toolchains\a0" TARGETDIR="%BuildRoot%\toolchains\swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a\PFiles64\Swift\Runtimes\0.0.0\usr\bin\ || (exit /b)

0 commit comments

Comments
 (0)