Commands for installing Sofia without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Sofia.Setup.1.0.3.exe /SCustom folder
Sofia.Setup.1.0.3.exe /S /D=C:\Apps\sofiaPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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