Příkazy pro instalaci programu CLC Server Command Line Tools bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes 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 --silentPodle instalátoru
64bit · EXE · Všichni uživatelé
Tichá instalace
CLCServerCommandLineTools_26_0_7.exe -q -Dinstall4j.suppressUnattendedReboot=true- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\0803-8719-3724-8959
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-clc-server-command-line-tools.ps1
$url = 'https://download.clcbio.com/CLCServerCommandLineTools/26.0.7/CLCServerCommandLineTools_26_0_7.exe'
$sha256 = '0CB98CB263CBF972BC2AF71F7C168183857DBB3AEFA4C7D72B6626ACC8F5E176'
$file = Join-Path $env:TEMP 'CLCServerCommandLineTools_26_0_7.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