This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Installer-Verifikation - SHA256 Hashes angeben
#3
Scheint nicht, dass es da eine fertige Lösung in InnoInstaller gibt. Sad

Hab mal eine batch Datei erstellt:
@echo off
REM Prüfen, ob eine Datei übergeben wurde
if "%~1"=="" (
    echo Bitte eine Datei auf diese Batch-Datei ziehen.
    pause
    exit /b
)

REM Originaldatei
set "file=%~1"
REM Ausgabe-Datei
set "outfile=%file%.sha256.txt"

REM SHA256 berechnen und nur den Hash extrahieren
for /f "tokens=1,* delims= " %%a in ('certutil -hashfile "%file%" SHA256 ^| findstr /r /v "hash"') do set "hash=%%a"

REM Hash in Datei schreiben
echo %hash% > "%outfile%"

REM Fertig
echo SHA256 für "%file%" in "%outfile%" geschrieben.
pause

die den sha256-Wert einer Datei berechnet und eine .txt erstellt.

Hab die Dateien mal neben den Downloads veröffentlicht/verlinkt.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: Installer-Verifikation - SHA256 Hashes angeben - by Selur - 31.01.2026, 08:46

Forum Jump:


Users browsing this thread: 1 Guest(s)