Kommandoer til at installere Win-CodexBar 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 Finesssee.Win-CodexBar -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Finesssee.Win-CodexBar -e --silentwinget uninstall --id Finesssee.Win-CodexBar -e --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Aktuel bruger
Lydløs installation
CodexBar-0.70.0-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mappe
CodexBar-0.70.0-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\win-codexbar"- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinCodexBar_is1
- DisplayVersion
- 0.70.0
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-win-codexbar.ps1
$url = 'https://github.com/nesszer/Win-CodexBar/releases/download/v0.70.0/CodexBar-0.70.0-Setup.exe'
$sha256 = 'F7ABCD53106E9FDFE7E49BC47FBBF33057A98C710B47B5C77ABE36D5D0C7D800'
$file = Join-Path $env:TEMP 'CodexBar-0.70.0-Setup.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