@@ -924,6 +924,7 @@ setlocal enableextensions enabledelayedexpansion
924
924
925
925
:: Package toolchain.msi
926
926
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\toolchain.wixproj ^
927
+ -restore ^
927
928
-p:RunWixToolsOutOfProc=true ^
928
929
-p:OutputPath=%PackageRoot% \toolchain\ ^
929
930
-p:IntermediateOutputPath=%PackageRoot% \toolchain\ ^
@@ -934,6 +935,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\toolchain.wixproj
934
935
935
936
:: Package sdk.msi
936
937
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\sdk.wixproj ^
938
+ -restore ^
937
939
-p:RunWixToolsOutOfProc=true ^
938
940
-p:OutputPath=%PackageRoot% \sdk\ ^
939
941
-p:IntermediateOutputPath=%PackageRoot% \sdk\ ^
@@ -944,6 +946,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\sdk.wixproj ^
944
946
945
947
:: Package runtime.msi
946
948
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\runtime.wixproj ^
949
+ -restore ^
947
950
-p:RunWixToolsOutOfProc=true ^
948
951
-p:OutputPath=%PackageRoot% \runtime\ ^
949
952
-p:IntermediateOutputPath=%PackageRoot% \runtime\ ^
@@ -953,6 +956,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\runtime.wixproj ^
953
956
954
957
:: Package devtools.msi
955
958
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\devtools.wixproj ^
959
+ -restore ^
956
960
-p:RunWixToolsOutOfProc=true ^
957
961
-p:OutputPath=%PackageRoot% \devtools\ ^
958
962
-p:IntermediateOutputPath=%PackageRoot% \devtools\ ^
@@ -968,6 +972,7 @@ move %PackageRoot%\devtools\devtools.msi %PackageRoot% || (exit /b)
968
972
969
973
:: Build Installer
970
974
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\installer.wixproj ^
975
+ -restore ^
971
976
-p:RunWixToolsOutOfProc=true ^
972
977
-p:OutputPath=%PackageRoot% \installer\ ^
973
978
-p:IntermediateOutputPath=%PackageRoot% \installer\ ^
0 commit comments