![]() |
Uninstall.exes signieren
Hallo liebes Forum.
Ich arbeite mit Inno Setup und möchte für meine Apps jeweils die Uninstall- exe Dateien signieren, nicht nur die Setup Dateien an sich. Chat GPT hat mir vorgeschlagen, folgenden Code unter [Setup] einzufügen: UninstallFile=MeinPfad\uninstall.exe. UninstallFile kennt mein Inno Setup jedoch nicht. Die Signierung muss logischerweise im Vorfeld stattfinden, und kann nicht durch den Endbenutzer nach einer Installation der App erfolgen. Danke für Antworten. |
AW: Uninstall.exes signieren
Frag die KI lieber, wo die "richtigen" Informationen stehen ;)
![]() |
AW: Uninstall.exes signieren
Liste der Anhänge anzeigen (Anzahl: 1)
|
AW: Uninstall.exes signieren
Zitat:
To do it right : 1) define the sign tool in the compiler IDE , ![]()
Code:
2) The above usage will sign the installer itself automatically and only it.
mystandard=signtool.exe sign /a /n $qMy Common Name$q /t http://timestamp.comodoca.com/authenticode /d $qMy Program$q $f
(The above line is in the Inno compiler IDE) then some examples would be: [Setup] SignTool=mystandard 3) to sign the uninstaller follow the documentation ![]() Just add to the script
Code:
4) if you want your binaries to be signed then add an entry per file in [PreCompile] section to sign,
SignedUninstaller=yes
although i don't this precompile step, i prefer to run separated bat file where my binaries been copied and renamed (with version and date) build and archive after Delphi generate them, then sign them there in the new directory, then copy them again (signed) into specific directory for the Inno setup project, later the result (signed installer/setup) will be copied into the folder where the binaries named and dated. In other words, i prefer Inno setup projects to be using relative paths to the project so they can portable, grabbing all the needed files from specific directory which has nothing to do with Delphi IDE or the projects, i will bring the needed files then run the Inno compiler on it. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:31 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz