Befehle, um NAPS2 Prerelease ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Cyanfish.NAPS2.Prerelease -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Cyanfish.NAPS2.Prerelease -e --silentwinget uninstall --id Cyanfish.NAPS2.Prerelease -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Alle Benutzer · en-US
Stille Installation
naps2-8.0b3-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
naps2-8.0b3-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\naps2-prerelease"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NAPS2 - Not Another PDF Scanner_is1
- Installationsordner
- %ProgramFiles%\NAPS2
- DisplayVersion
- 8.0.3
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i naps2-8.0b3-win-x64.msi /qn /norestartProtokoll schreiben
msiexec /i naps2-8.0b3-win-x64.msi /qn /norestart /l*v "%TEMP%\naps2-prerelease-install.log"Deinstallation
msiexec /x {F5F02865-3B7D-47A8-9D1B-E3F55DC62787} /qn /norestart- MSI-Produktcode
- {F5F02865-3B7D-47A8-9D1B-E3F55DC62787}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F5F02865-3B7D-47A8-9D1B-E3F55DC62787}
- UpgradeCode
- {FEB82971-B3E6-4F19-9684-1D543E644D73}
- Installationsordner
- %ProgramFiles%/NAPS2
- DisplayVersion
- 8.0.3
64-Bit · ZIP
Keine Installation nötig (portabel)
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-naps2-prerelease.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.0b3/naps2-8.0b3-win-x64.exe'
$sha256 = 'D7B6B966B029F80C879B4224E798F785AF2D5892F23FDB68632462E54F1C040E'
$file = Join-Path $env:TEMP 'naps2-8.0b3-win-x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-naps2-prerelease.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.0b3/naps2-8.0b3-win-x64.msi'
$sha256 = '72BF5809DE136783EF47E764FA3812B35399EF7FF7CC16547F754CFCEDE06847'
$file = Join-Path $env:TEMP 'naps2-8.0b3-win-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait