Skip to content

Commit 405ea04

Browse files
committed
build: extract the WiX engine during the CI job
Extract the installer engine for simplifying the code signing process. We need to currently shuffle files around more than necessary to just extract the installer engine, this will allow us to skip that step.
1 parent 3428135 commit 405ea04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/build-windows-toolchain.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,10 @@ move %PackageRoot%\online\Release\amd64\*.msi %BuildRoot%\artifacts\online\ || (
10121012
:: Workaround for lack of control over Jenkins ...
10131013
copy %BuildRoot%\artifacts\offline\installer.exe %BuildRoot%\artifacts\
10141014

1015+
:: Detach the engine for CodeSigning simplicity
1016+
md %BuildRoot%\artifacts\offline\extracted\
1017+
"WiX-4.0.1\tools\net6.0\any\wix.exe" burn detach %BuildRoot%\artifacts\offline\installer.exe -engine %BuildRoot%\artifacts\installer-engine.exe -intermediateFolder %BuildRoot%\artifacts\offline\extracted\
1018+
10151019
goto :eof
10161020
endlocal
10171021

0 commit comments

Comments
 (0)