Commando’s om Sofia zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met winget
PowerShell
winget install --id TaiStudio.Sofia -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TaiStudio.Sofia -e --silentwinget uninstall --id TaiStudio.Sofia -e --silentPer installer
64-bits · EXE (NSIS) · Huidige gebruiker
Stille installatie
Sofia.Setup.1.0.3.exe /SAndere map
Sofia.Setup.1.0.3.exe /S /D=C:\Apps\sofiaPowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-sofia.ps1
$url = 'https://github.com/TaiStudio/Sofia/releases/download/v1.0.3/Sofia.Setup.1.0.3.exe'
$sha256 = '3C65B10D5B10044F7DA44296077182E07ECD7E34AC06CD22616E9AC5A06345F0'
$file = Join-Path $env:TEMP 'Sofia.Setup.1.0.3.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