Polecenia do instalacji programu Superscript bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id JustinPaulSilva.Superscript -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JustinPaulSilva.Superscript -e --silentwinget uninstall --id JustinPaulSilva.Superscript -e --silentWedług instalatora
64-bit · EXE (NSIS)
Cicha instalacja
1.5.6 /SWłasny folder
1.5.6 /S /D=C:\Apps\superscriptPowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-superscript.ps1
$url = 'https://www.superscript.app/releases/windows/1.5.6'
$sha256 = '36CBCBD9B7A151EDF8A76EB4DF742F5F24CCBEA5040646800A1B35E79776FD3C'
$file = Join-Path $env:TEMP '1.5.6'
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