Kommandon för att installera OciDeck 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 LibreKAT.OciDeck -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LibreKAT.OciDeck -e --silentwinget uninstall --id LibreKAT.OciDeck -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
ocideck-windows-x64-setup-0.6.3.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
ocideck-windows-x64-setup-0.6.3.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ocideck"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5AEB475C-9E67-475B-BB99-F52816B739C8}_is1
- Installationsmapp
- %ProgramFiles%\OciDeck
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-ocideck.ps1
$url = 'https://pawprint.vigilis.online/LibreKAT/Ocideck/releases/download/v0.6.3/ocideck-windows-x64-setup-0.6.3.exe'
$sha256 = '3B60D7BC4507F72398B1574149CE7B9224AD31D49843F9F906E78029B8718F88'
$file = Join-Path $env:TEMP 'ocideck-windows-x64-setup-0.6.3.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