@@ -932,9 +932,7 @@ setlocal enableextensions enabledelayedexpansion
932
932
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\bld\bld.wixproj ^
933
933
-restore ^
934
934
-p:Configuration=Release ^
935
- -p:IntermediateOutputPath=%PackageRoot% \bld\ ^
936
- -p:OutputPath=%PackageRoot% \bld\ ^
937
- -p:RunWixToolsOutOfProc=true ^
935
+ -p:BaseOutputPath=%PackageRoot% \bld\ ^
938
936
-p:DEVTOOLS_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain ^
939
937
-p:TOOLCHAIN_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain
940
938
:: TODO(compnerd) actually perform the code-signing
@@ -944,9 +942,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\bld\bld.wixproj ^
944
942
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\cli\cli.wixproj ^
945
943
-restore ^
946
944
-p:Configuration=Release ^
947
- -p:IntermediateOutputPath=%PackageRoot% \cli\ ^
948
- -p:OutputPath=%PackageRoot% \cli\ ^
949
- -p:RunWixToolsOutOfProc=true ^
945
+ -p:BaseOutputPath=%PackageRoot% \cli\ ^
950
946
-p:DEVTOOLS_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain ^
951
947
-p:TOOLCHAIN_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain
952
948
:: TODO(compnerd) actually perform the code-signing
@@ -956,9 +952,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\cli\cli.wixproj ^
956
952
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\dbg\dbg.wixproj ^
957
953
-restore ^
958
954
-p:Configuration=Release ^
959
- -p:IntermediateOutputPath=%PackageRoot% \dbg\ ^
960
- -p:OutputPath=%PackageRoot% \dbg\ ^
961
- -p:RunWixToolsOutOfProc=true ^
955
+ -p:BaseOutputPath=%PackageRoot% \dbg\ ^
962
956
-p:DEVTOOLS_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain ^
963
957
-p:TOOLCHAIN_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain
964
958
:: TODO(compnerd) actually perform the code-signing
@@ -968,9 +962,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\dbg\dbg.wixproj ^
968
962
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\ide\ide.wixproj ^
969
963
-restore ^
970
964
-p:Configuration=Release ^
971
- -p:IntermediateOutputPath=%PackageRoot% \ide\ ^
972
- -p:OutputPath=%PackageRoot% \ide\ ^
973
- -p:RunWixToolsOutOfProc=true ^
965
+ -p:BaseOutputPath=%PackageRoot% \ide\ ^
974
966
-p:DEVTOOLS_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain ^
975
967
-p:TOOLCHAIN_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain
976
968
:: TODO(compnerd) actually perform the code-signing
@@ -980,40 +972,34 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\ide\ide.wixproj ^
980
972
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\sdk\sdk.wixproj ^
981
973
-restore ^
982
974
-p:Configuration=Release ^
983
- -p:IntermediateOutputPath=%PackageRoot% \sdk\ ^
984
- -p:OutputPath=%PackageRoot% \sdk\ ^
985
- -p:RunWixToolsOutOfProc=true ^
975
+ -p:BaseOutputPath=%PackageRoot% \sdk\ ^
986
976
-p:PLATFORM_ROOT=%PlatformRoot% \ ^
987
977
-p:SDK_ROOT=%SDKInstallRoot% \
988
978
:: TODO(compnerd) actually perform the code-signing
989
979
:: signtool sign /f Apple_CodeSign.pfx /p Apple_CodeSign_Password /tr http://timestamp.digicert.com /fd sha256 %PackageRoot%\sdk\sdk.msi
990
980
991
981
:: Package runtime.msi
992
- msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\runtime\runtime .wixproj ^
982
+ msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\runtimemsi\runtimemsi .wixproj ^
993
983
-restore ^
994
984
-p:Configuration=Release ^
995
- -p:IntermediateOutputPath=%PackageRoot% \runtime\ ^
996
- -p:OutputPath=%PackageRoot% \runtime\ ^
997
- -p:RunWixToolsOutOfProc=true ^
985
+ -p:BaseOutputPath=%PackageRoot% \runtime\ ^
998
986
-p:SDK_ROOT=%SDKInstallRoot% \
999
987
:: TODO(compnerd) actually perform the code-signing
1000
988
:: signtool sign /f Apple_CodeSign.pfx /p Apple_CodeSign_Password /tr http://timestamp.digicert.com /fd sha256 %PackageRoot%\runtime\runtime.msi
1001
989
1002
990
:: Collate MSIs
1003
- move %PackageRoot% \bld\bld.msi %PackageRoot% || (exit /b)
1004
- move %PackageRoot% \cli\cli.msi %PackageRoot% || (exit /b)
1005
- move %PackageRoot% \dbg\dbg.msi %PackageRoot% || (exit /b)
1006
- move %PackageRoot% \ide\ide.msi %PackageRoot% || (exit /b)
1007
- move %PackageRoot% \sdk\sdk.msi %PackageRoot% || (exit /b)
1008
- move %PackageRoot% \runtime\runtime.msi %PackageRoot% || (exit /b)
991
+ move %PackageRoot% \bld\Release\amd64\ bld.msi %PackageRoot% || (exit /b)
992
+ move %PackageRoot% \cli\Release\amd64\ cli.msi %PackageRoot% || (exit /b)
993
+ move %PackageRoot% \dbg\Release\amd64\ dbg.msi %PackageRoot% || (exit /b)
994
+ move %PackageRoot% \ide\Release\amd64\ ide.msi %PackageRoot% || (exit /b)
995
+ move %PackageRoot% \sdk\Release\amd64\ sdk.msi %PackageRoot% || (exit /b)
996
+ move %PackageRoot% \runtime\Release\amd64\ runtime.msi %PackageRoot% || (exit /b)
1009
997
1010
998
:: Build Installer
1011
999
msbuild %SourceRoot% \swift-installer-scripts\platforms\Windows\bundle\installer.wixproj ^
1012
1000
-restore ^
1013
1001
-p:Configuration=Release ^
1014
- -p:IntermediateOutputPath=%PackageRoot% \installer\ ^
1015
- -p:OutputPath=%PackageRoot% \installer\ ^
1016
- -p:RunWixToolsOutOfProc=true ^
1002
+ -p:BaseOutputPath=%PackageRoot% \installer\ ^
1017
1003
-p:MSI_LOCATION=%PackageRoot% \
1018
1004
:: TODO(compnerd) actually perform the code-signing
1019
1005
:: signtool sign /f Apple_CodeSign.pfx /p Apple_CodeSign_Password /tr http://timestamp.digicert.com /fd sha256 %PackageRoot%\installer\installer.exe
@@ -1035,7 +1021,7 @@ move %PackageRoot%\sdk.msi %BuildRoot%\artifacts || (exit /b)
1035
1021
:: runtime
1036
1022
move %PackageRoot% \runtime.msi %BuildRoot% \artifacts || (exit /b)
1037
1023
:: installer
1038
- move %PackageRoot% \installer\installer.exe %BuildRoot% \artifacts || (exit /b)
1024
+ move %PackageRoot% \installer\Release\amd64\ installer.exe %BuildRoot% \artifacts || (exit /b)
1039
1025
1040
1026
goto :eof
1041
1027
endlocal
0 commit comments