Skipanir til að setja forritið FileCommand upp án spurninga, fjarlægja það aftur og greina það úr dreifingartólum. Skipun er aðeins sýnd þegar hún er örugg: úr pakkalýsingunni eða skjalfestu sjálfgildi uppsetningartækninnar.
Tengdar leiðbeiningar: Rofar fyrir hljóðláta uppsetningu: MSI, NSIS, Inno Setup · Fjarlægja forrit með skrásetningunni eða PowerShell
Með 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 --silentEftir uppsetningarforriti
64 bita · EXE (WiX Burn) · Núverandi notandi
Hljóðlát uppsetning
FileCommandSetup.exe /quiet64 bita · EXE (WiX Burn) · Allir notendur
Hljóðlát uppsetning
FileCommandSetup.exe /quiet InstallScope=perMachinePowerShell: sækja, sannreyna, setja upp
Sækir opinberu skrána, ber SHA256-gildi hennar saman og setur hana upp hljóðlaust.
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