Parancsok a FileCommand program kérdések nélküli telepítéséhez, eltávolításához és telepítőeszközökből való észleléséhez. Csak biztos parancs jelenik meg: a manifestből vagy a telepítőtechnológia dokumentált alapértelmezéséből.
Kapcsolódó útmutató: Csendes telepítési kapcsolók: MSI, NSIS, Inno Setup · Program eltávolítása beállításjegyzékből, PowerShellből
winget használatával
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 --silentTelepítőnként
64 bites · EXE (WiX Burn) · Csak az aktuális felhasználó
Csendes telepítés
FileCommandSetup.exe /quiet64 bites · EXE (WiX Burn) · Minden felhasználó
Csendes telepítés
FileCommandSetup.exe /quiet InstallScope=perMachinePowerShell: letöltés, ellenőrzés, telepítés
Letölti a hivatalos fájlt, ellenőrzi az SHA256 összegét, majd csendesen telepíti.
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