Don't require SIGNTOOL_PARAMS to contain the 'sign' command

This commit is contained in:
Cameron Gutman
2026-10-03 18:37:39 -05:00
parent afcd08ccbc
commit b7e0deb168
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ if /I "%BUILD_CONFIG%"=="debug" (
)
if not defined SIGNTOOL_PARAMS (
echo "A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds"
echo A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds
exit /b 1
)
@@ -280,7 +280,7 @@ if "%SIGN%"=="1" (
for /r "%DEPLOY_FOLDER%" %%f in (*.dll *.exe) do (
set FILES_TO_SIGN=!FILES_TO_SIGN! %%f
)
signtool %SIGNTOOL_PARAMS% !FILES_TO_SIGN!
signtool sign %SIGNTOOL_PARAMS% !FILES_TO_SIGN!
if !ERRORLEVEL! NEQ 0 goto Error
)
+1 -1
View File
@@ -27,7 +27,7 @@ if /I "%BUILD_CONFIG%"=="debug" (
)
if not defined SIGNTOOL_PARAMS (
echo "A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds"
echo A signtool parameter string must be specified in SIGNTOOL_PARAMS for signed release builds
exit /b 1
)
) else (
+2 -2
View File
@@ -16,10 +16,10 @@
<SignOutput>true</SignOutput>
</PropertyGroup>
<Target Name="SignBundleEngine">
<Exec Command='signtool.exe $(SIGNTOOL_PARAMS) %(SignBundleEngine.FullPath)' />
<Exec Command='signtool.exe sign $(SIGNTOOL_PARAMS) %(SignBundleEngine.FullPath)' />
</Target>
<Target Name="SignBundle">
<Exec Command='signtool.exe $(SIGNTOOL_PARAMS) %(SignBundle.FullPath)' />
<Exec Command='signtool.exe sign $(SIGNTOOL_PARAMS) %(SignBundle.FullPath)' />
</Target>
<ItemGroup>
<PackageReference Include="WixToolset.Bal.wixext" Version="7.0.0" />