Kommandon för att installera FreeShow utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id ChurchApps.FreeShow -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ChurchApps.FreeShow -e --silentwinget uninstall --id ChurchApps.FreeShow -e --silentPer installationsfil
64-bitars · EXE (NSIS) · en-US
Tyst installation
FreeShow-1.6.7-x64.exe /SEgen mapp
FreeShow-1.6.7-x64.exe /S /D=C:\Apps\freeshow- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\39d6ac0d-0e91-5cc7-95e9-271a9a7ccacd
- DisplayVersion
- 1.6.7
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-freeshow.ps1
$url = 'https://github.com/ChurchApps/FreeShow/releases/download/v1.6.7/FreeShow-1.6.7-x64.exe'
$sha256 = '0B53CF6813253BBF8F08412EAFB5DFD06B899412B4944B1CB57B7C1062F8CD4F'
$file = Join-Path $env:TEMP 'FreeShow-1.6.7-x64.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 '/S' -Wait