@@ -924,6 +924,7 @@ setlocal enableextensions enabledelayedexpansion
924924
925925:: Package toolchain.msi
926926msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\toolchain.wixproj ^
927+ -restore ^
927928 -p:RunWixToolsOutOfProc=true ^
928929 -p:OutputPath=%PackageRoot% \toolchain\ ^
929930 -p:IntermediateOutputPath=%PackageRoot% \toolchain\ ^
@@ -934,6 +935,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\toolchain.wixproj
934935
935936:: Package sdk.msi
936937msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\sdk.wixproj ^
938+ -restore ^
937939 -p:RunWixToolsOutOfProc=true ^
938940 -p:OutputPath=%PackageRoot% \sdk\ ^
939941 -p:IntermediateOutputPath=%PackageRoot% \sdk\ ^
@@ -944,6 +946,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\sdk.wixproj ^
944946
945947:: Package runtime.msi
946948msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\runtime.wixproj ^
949+ -restore ^
947950 -p:RunWixToolsOutOfProc=true ^
948951 -p:OutputPath=%PackageRoot% \runtime\ ^
949952 -p:IntermediateOutputPath=%PackageRoot% \runtime\ ^
@@ -953,6 +956,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\runtime.wixproj ^
953956
954957:: Package devtools.msi
955958msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\devtools.wixproj ^
959+ -restore ^
956960 -p:RunWixToolsOutOfProc=true ^
957961 -p:OutputPath=%PackageRoot% \devtools\ ^
958962 -p:IntermediateOutputPath=%PackageRoot% \devtools\ ^
@@ -968,6 +972,7 @@ move %PackageRoot%\devtools\devtools.msi %PackageRoot% || (exit /b)
968972
969973:: Build Installer
970974msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\installer.wixproj ^
975+ -restore ^
971976 -p:RunWixToolsOutOfProc=true ^
972977 -p:OutputPath=%PackageRoot% \installer\ ^
973978 -p:IntermediateOutputPath=%PackageRoot% \installer\ ^
0 commit comments