Commands for installing FSLControl 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 Thorlabs.FSLControl -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Thorlabs.FSLControl -e --silentwinget uninstall --id Thorlabs.FSLControl -e --silentBy installer
32-bit · EXE (NSIS) · All users
Silent install
fslcontrol_v1.8.1.4_setup.exe /SCustom folder
fslcontrol_v1.8.1.4_setup.exe /S /D=C:\Apps\fslcontrol- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\FSLControl
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-fslcontrol.ps1
$url = 'https://thin01mstroc282prod.dxcloud.episerver.net/contentassets/ec818ba4704b4c27a52fcb86de58dc57/fslcontrol_v1.8.1.4_setup.exe'
$sha256 = 'BF51712C02CF9CCC90453D80F4620E5182B3C144DF2AC1857AEB3B4D5DD937AB'
$file = Join-Path $env:TEMP 'fslcontrol_v1.8.1.4_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