Komennot, joilla FileCommand-ohjelman voi asentaa ilman kysymyksiä, poistaa ja tunnistaa jakelutyökaluissa. Komento näytetään vain, kun se on varma: manifestista tai asennustekniikan dokumentoidusta oletuksesta.
Aiheeseen liittyvä opas: Hiljaisen asennuksen parametrit: MSI, NSIS, Inno · Ohjelman poisto rekisterin tai PowerShellin avulla
wingetillä
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 --silentAsennusohjelmittain
64-bittinen · EXE (WiX Burn) · Nykyinen käyttäjä
Hiljainen asennus
FileCommandSetup.exe /quiet64-bittinen · EXE (WiX Burn) · Kaikki käyttäjät
Hiljainen asennus
FileCommandSetup.exe /quiet InstallScope=perMachinePowerShell: lataa, tarkista, asenna
Lataa virallisen tiedoston, tarkistaa sen SHA256-tiivisteen ja asentaa sen hiljaisesti.
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