Kommandon för att installera CQOps 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 SzymonPorwolik.CQOps -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SzymonPorwolik.CQOps -e --silentwinget uninstall --id SzymonPorwolik.CQOps -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare · en-US
Tyst installation
cqops-setup.exe /SEgen mapp
cqops-setup.exe /S /D=C:\Apps\cqops- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\CQOps
- Installationsmapp
- %ProgramFiles%\CQOps
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-cqops.ps1
$url = 'https://github.com/szporwolik/cqops/releases/download/v0.11.4/cqops-setup.exe'
$sha256 = 'AD58F58522D182BF6028F09EBE365ACD070559486CCB44AA3CB55FEFB4265134'
$file = Join-Path $env:TEMP 'cqops-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 '/S' -Wait