Befehle, um SASM ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Dman95.SASM -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Dman95.SASM -e --silentwinget uninstall --id Dman95.SASM -e --silentNach Installer
32-Bit · EXE (Inno Setup) · Alle Benutzer · en-US
Stille Installation
SASMSetup3160.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eigener Ordner
SASMSetup3160.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\sasm"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9CDF46F9-BF4F-4683-BB44-F410E4E0F210}_is1
- Installationsordner
- %ProgramFiles%\SASM
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-sasm.ps1
$url = 'https://github.com/Dman95/SASM/releases/download/v3.16.0/SASMSetup3160.exe'
$sha256 = 'ECB3E21A8CB6AD8CCE204DC528EE31D248BC5610AE4DE8CB57D184E3C1A83839'
$file = Join-Path $env:TEMP 'SASMSetup3160.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait