Befehle, um NAPS2 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 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Cyanfish.NAPS2 -e --silentwinget uninstall --id Cyanfish.NAPS2 -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Alle Benutzer
Stille Installation
naps2-8.6.0-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
naps2-8.6.0-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\naps2"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NAPS2 - Not Another PDF Scanner_is1
- Installationsordner
- %ProgramFiles%\NAPS2
64-Bit · MSIX
Stille Installation
Add-AppxPackage -Path naps2-8.6.0-win-x64.msixDeinstallation
Get-AppxPackage -Name NAPS2Software.NAPS2-NotAnotherPDFScanner | Remove-AppxPackage64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i naps2-8.6.0-win-x64.msi /qn /norestartProtokoll schreiben
msiexec /i naps2-8.6.0-win-x64.msi /qn /norestart /l*v "%TEMP%\naps2-install.log"Deinstallation
msiexec /x {507191D7-79F9-4754-93B6-754ECC2BB6CA} /qn /norestart- MSI-Produktcode
- {507191D7-79F9-4754-93B6-754ECC2BB6CA}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{507191D7-79F9-4754-93B6-754ECC2BB6CA}
- UpgradeCode
- {FEB82971-B3E6-4F19-9684-1D543E644D73}
- Installationsordner
- %ProgramFiles%\NAPS2
ARM64 · EXE (Inno Setup) · Alle Benutzer
Stille Installation
naps2-8.6.0-win-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
naps2-8.6.0-win-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\naps2"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NAPS2 - Not Another PDF Scanner_is1
- Installationsordner
- %ProgramFiles%\NAPS2
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-naps2.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.6.0/naps2-8.6.0-win-x64.exe'
$sha256 = '684E26D2145BCEAB5199971B8620DD715CBEB824ECDC080FE122912B1486DA22'
$file = Join-Path $env:TEMP 'naps2-8.6.0-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.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.6.0/naps2-8.6.0-win-x64.msix'
$sha256 = 'BD0275244BFBC6D16144F9EA5916E41BA050C5EC6027E1E093C2210D544282A1'
$file = Join-Path $env:TEMP 'naps2-8.6.0-win-x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-naps2.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.6.0/naps2-8.6.0-win-x64.msi'
$sha256 = '37CA3798BFD414AA2D101D64F1F249A05CC6A1710A7F5B90BFE7303EF3537F26'
$file = Join-Path $env:TEMP 'naps2-8.6.0-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 install-naps2.ps1
$url = 'https://github.com/cyanfish/naps2/releases/download/v8.6.0/naps2-8.6.0-win-arm64.exe'
$sha256 = 'B646A4D85A4D59208F21466A0CED4DE29663F852F87462921265C67813F98A5B'
$file = Join-Path $env:TEMP 'naps2-8.6.0-win-arm64.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