Příkazy pro instalaci programu Scanner bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id SimonKnuth.Scanner -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SimonKnuth.Scanner -e --silentwinget uninstall --id SimonKnuth.Scanner -e --silentPodle instalátoru
64bit · MSIX
Tichá instalace
Add-AppxPackage -Path 9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.MsixbundleOdinstalace
Get-AppxPackage -Name 9390SimonKnuth.ScannerforWindows10 | Remove-AppxPackageARM64 · MSIX
Tichá instalace
Add-AppxPackage -Path 9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.MsixbundleOdinstalace
Get-AppxPackage -Name 9390SimonKnuth.ScannerforWindows10 | Remove-AppxPackage32bit · MSIX
Tichá instalace
Add-AppxPackage -Path 9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.MsixbundleOdinstalace
Get-AppxPackage -Name 9390SimonKnuth.ScannerforWindows10 | Remove-AppxPackagePowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-scanner.ps1
$url = 'https://github.com/simon-knuth/scanner/releases/download/3.2.9.0/9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.Msixbundle'
$sha256 = '59ABDAEBC363FA443E0CE1D422E2FCBE2040E880920C31A251C60C9EE2FC8C8F'
$file = Join-Path $env:TEMP '9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.Msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-scanner.ps1
$url = 'https://github.com/simon-knuth/scanner/releases/download/3.2.9.0/9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.Msixbundle'
$sha256 = '59ABDAEBC363FA443E0CE1D422E2FCBE2040E880920C31A251C60C9EE2FC8C8F'
$file = Join-Path $env:TEMP '9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.Msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-scanner.ps1
$url = 'https://github.com/simon-knuth/scanner/releases/download/3.2.9.0/9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.Msixbundle'
$sha256 = '59ABDAEBC363FA443E0CE1D422E2FCBE2040E880920C31A251C60C9EE2FC8C8F'
$file = Join-Path $env:TEMP '9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.Msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file