Kommandoer til at installere FileCommand uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE (WiX Burn) · Aktuel bruger
Lydløs installation
FileCommandSetup.exe /quiet64-bit · EXE (WiX Burn) · Alle brugere
Lydløs installation
FileCommandSetup.exe /quiet InstallScope=perMachinePowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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