Fixed an issue where windows installer is not signing tmp files generated by InnoSetup. #8420

Co-authored-by: stephannn <stephannn@users.noreply.github.com>
pull/8945/head
Aditya Toshniwal 2025-07-10 15:35:02 +05:30 committed by GitHub
parent 1d68074a59
commit 60c8e5fe05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -375,7 +375,7 @@ REM Main build sequence Ends
:SIGN_INSTALLER
ECHO Attempting to sign the installer...
CALL "%PGADMIN_SIGNTOOL_DIR%\signtool.exe" sign /fd certHash /tr http://timestamp.digicert.com /td SHA256 "%DISTROOT%\%INSTALLERNAME%"
CALL "%PGADMIN_INNOTOOL_DIR%\ISCC.exe" "%WD%\pkg\win32\installer.iss" "/Ssigntool=%PGADMIN_SIGNTOOL_DIR%\signtool.exe sign /fd certHash /tr http://timestamp.digicert.com /td SHA256 "%DISTROOT%\%INSTALLERNAME%" $f"
IF %ERRORLEVEL% NEQ 0 (
ECHO.
ECHO ************************************************************

View File

@ -36,6 +36,7 @@ ArchitecturesInstallIn64BitMode={#MyAppArchitecturesMode}
AllowNoIcons=yes
WizardImageFile=sidebar.bmp
MinVersion={#MinimumWindowsVer}
SignedUninstaller=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"