Kommandon för att installera CLC Server Command Line Tools 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 QIAGEN.CLCServerCommandLineTools -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id QIAGEN.CLCServerCommandLineTools -e --silentwinget uninstall --id QIAGEN.CLCServerCommandLineTools -e --silentPer installationsfil
64-bitars · EXE · Alla användare
Tyst installation
CLCServerCommandLineTools_26_0_6.exe -q -Dinstall4j.suppressUnattendedReboot=true- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\0803-8719-3724-8959
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-clc-server-command-line-tools.ps1
$url = 'https://download.clcbio.com/CLCServerCommandLineTools/26.0.6/CLCServerCommandLineTools_26_0_6.exe'
$sha256 = '60FB47A1AB266DDCD65245D578A0BADF05B3AF49FF4BE643E8BE7F3FB8AE869D'
$file = Join-Path $env:TEMP 'CLCServerCommandLineTools_26_0_6.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 '-q -Dinstall4j.suppressUnattendedReboot=true' -Wait