Kommandoer til at installere Scanner uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · MSIX
Lydløs installation
Add-AppxPackage -Path 9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.MsixbundleAfinstallation
Get-AppxPackage -Name 9390SimonKnuth.ScannerforWindows10 | Remove-AppxPackageARM64 · MSIX
Lydløs installation
Add-AppxPackage -Path 9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.MsixbundleAfinstallation
Get-AppxPackage -Name 9390SimonKnuth.ScannerforWindows10 | Remove-AppxPackage32-bit · MSIX
Lydløs installation
Add-AppxPackage -Path 9390SimonKnuth.ScannerforWindows10_3.2.9.0_neutral_._69n05hp4v3s90.MsixbundleAfinstallation
Get-AppxPackage -Name 9390SimonKnuth.ScannerforWindows10 | Remove-AppxPackagePowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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