AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Uninstall.exes signieren

Ein Thema von DelphiUser123 · begonnen am 4. Jul 2025 · letzter Beitrag vom 5. Jul 2025
Antwort Antwort
DelphiUser123

Registriert seit: 23. Feb 2013
47 Beiträge
 
#1

Uninstall.exes signieren

  Alt 4. Jul 2025, 23:02
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.
  Mit Zitat antworten Zitat
vnvjan

Registriert seit: 20. Jun 2007
36 Beiträge
 
Delphi 12 Athens
 
#2

AW: Uninstall.exes signieren

  Alt 5. Jul 2025, 05:18
Frag die KI lieber, wo die "richtigen" Informationen stehen

https://jrsoftware.org/ishelp/index....setup_signtool
  Mit Zitat antworten Zitat
Cypheros

Registriert seit: 12. Sep 2024
Ort: Büren
10 Beiträge
 
Delphi 11 Alexandria
 
#3

AW: Uninstall.exes signieren

  Alt 5. Jul 2025, 07:46
Die richtige Antwort lautet: unins000.exe

Screenshot 2025-07-05 084351.jpg
Frank Siek
  Mit Zitat antworten Zitat
Kas Ob.

Registriert seit: 3. Sep 2023
455 Beiträge
 
#4

AW: Uninstall.exes signieren

  Alt 5. Jul 2025, 07:51
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.
Signing the binaries is a job for the Inno setup compiler, doing it before hand is wrong and can cause problem, and when i say binaries i mean it is capable to sign the installer after the finishing the build and the uninstaller before the compilation, also it follow the script to sign any binaries you want to sign your main EXE or DLLs ...

To do it right :
1) define the sign tool in the compiler IDE , https://jrsoftware.org/ishelp/index....setup_signtool
Code:
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
2) The above usage will sign the installer itself automatically and only it.
3) to sign the uninstaller follow the documentation https://jrsoftware.org/ishelp/index....setup_signtool
Just add to the script
Code:
SignedUninstaller=yes
4) if you want your binaries to be signed then add an entry per file in [PreCompile] section to sign,

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.
Kas
  Mit Zitat antworten Zitat
Alt 5. Jul 2025, 08:32     Erstellt von brooh
Dieser Beitrag wurde von TBx gelöscht. - Grund: Verdacht auf SPAM und den damit verbundenen verschwenderischen Umgang von wertvollen Bits und Bytes
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:16 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