Commands for installing CrewLink without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Ottomated.CrewLink -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Ottomated.CrewLink -e --silentwinget uninstall --id Ottomated.CrewLink -e --silentBy installer
Any CPU · EXE (NSIS)
Silent install
CrewLink-Setup-2.0.1.exe /SCustom folder
CrewLink-Setup-2.0.1.exe /S /D=C:\Apps\crewlinkPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-crewlink.ps1
$url = 'https://github.com/ottomated/CrewLink/releases/download/v2.0.1/CrewLink-Setup-2.0.1.exe'
$sha256 = '2C2D1242A36083BE3E4E1A18DD234438863E469834ADF4140C801471105D90AD'
$file = Join-Path $env:TEMP 'CrewLink-Setup-2.0.1.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