From e7fdfa6727bf6891128f02ceacf66d4351730b07 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Tue, 1 Oct 2024 13:23:52 +0200 Subject: [PATCH] Use name of uninstaller instead. Otherwise it'll take the name of the main exe. part of CURA-12129 --- packaging/NSIS/Ultimaker-Cura.nsi.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/NSIS/Ultimaker-Cura.nsi.jinja b/packaging/NSIS/Ultimaker-Cura.nsi.jinja index f2151e7191..42258a52df 100644 --- a/packaging/NSIS/Ultimaker-Cura.nsi.jinja +++ b/packaging/NSIS/Ultimaker-Cura.nsi.jinja @@ -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