Use name of uninstaller instead.

Otherwise it'll take the name of the main exe.

part of CURA-12129
This commit is contained in:
Remco Burema 2024-10-01 13:23:52 +02:00
parent a5a1e88b18
commit e7fdfa6727

View File

@ -216,6 +216,6 @@ DeleteRegKey ${REG_ROOT} "${UNINSTALL_PATH}"
SectionEnd
!ifdef SIGN_SECRET
!uninstfinalize 'signtool sign /v /fd sha256 /tr http://timestamp.sectigo.com /td sha256 /f C:\actions-runner\code_sign.cer /csp "eToken Base Cryptographic Provider" /kc ${SIGN_SECRET} "%1"' = 0
!uninstfinalize 'signtool sign /v /fd sha256 /tr http://timestamp.sectigo.com /td sha256 /f C:\actions-runner\code_sign.cer /csp "eToken Base Cryptographic Provider" /kc ${SIGN_SECRET} "${INSTDIR}\uninstall.exe"' = 0
; %1 is replaced by the uninstaller exe to be signed.
!endif