Kommandon för att installera QR Code for CmdPal utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Riri.QRCodeforCmdPal -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Riri.QRCodeforCmdPal -e --silentwinget uninstall --id Riri.QRCodeforCmdPal -e --silentPer installationsfil
64-bitars · MSIX
Tyst installation
Add-AppxPackage -Path Riri.QRCodeForCmdPal_0.0.1.0_x64.msixAvinstallation
Get-AppxPackage -Name Riri.QRCodeForCmdPal | Remove-AppxPackageARM64 · MSIX
Tyst installation
Add-AppxPackage -Path Riri.QRCodeForCmdPal_0.0.1.0_arm64.msixAvinstallation
Get-AppxPackage -Name Riri.QRCodeForCmdPal | Remove-AppxPackagePowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-qr-code-for-cmdpal.ps1
$url = 'https://github.com/Daydreamer-riri/QRCode-CmdPal/releases/download/0.0.1/Riri.QRCodeForCmdPal_0.0.1.0_x64.msix'
$sha256 = '0071835DE9369C73A28CEBCDF2AECE4DB35FB5AE98917E73F0AE16A94294F3F9'
$file = Join-Path $env:TEMP 'Riri.QRCodeForCmdPal_0.0.1.0_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-qr-code-for-cmdpal.ps1
$url = 'https://github.com/Daydreamer-riri/QRCode-CmdPal/releases/download/0.0.1/Riri.QRCodeForCmdPal_0.0.1.0_arm64.msix'
$sha256 = '663B23F795DD84A1CC13006167D3F4B3309D05C338D4CE6017A81C6141B46924'
$file = Join-Path $env:TEMP 'Riri.QRCodeForCmdPal_0.0.1.0_arm64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file