Příkazy pro instalaci programu FileCommand 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 BigHatGroup.FileCommand -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BigHatGroup.FileCommand -e --silentwinget uninstall --id BigHatGroup.FileCommand -e --silentPodle instalátoru
64bit · EXE (WiX Burn) · Aktuální uživatel
Tichá instalace
FileCommandSetup.exe /quiet64bit · EXE (WiX Burn) · Všichni uživatelé
Tichá instalace
FileCommandSetup.exe /quiet InstallScope=perMachinePowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-filecommand.ps1
$url = 'https://github.com/kkaminsk/FileCommand/releases/download/v0.1.5/FileCommandSetup.exe'
$sha256 = '0476AE3B535BD868F7B97C2D845C0339F6E09C5964C60CED3EE0E1C1744604B8'
$file = Join-Path $env:TEMP 'FileCommandSetup.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 '/quiet' -Wait install-filecommand.ps1
$url = 'https://github.com/kkaminsk/FileCommand/releases/download/v0.1.5/FileCommandSetup.exe'
$sha256 = '0476AE3B535BD868F7B97C2D845C0339F6E09C5964C60CED3EE0E1C1744604B8'
$file = Join-Path $env:TEMP 'FileCommandSetup.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 '/quiet InstallScope=perMachine' -Wait