Befehle, um Microsoft Small Basic 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 Microsoft.SmallBasic -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.SmallBasic -e --silentwinget uninstall --id Microsoft.SmallBasic -e --silentNach Installer
64-Bit · MSI · en-US
Stille Installation
msiexec /i SmallBasic_v1.2.msi /qn /norestartProtokoll schreiben
msiexec /i SmallBasic_v1.2.msi /qn /norestart /l*v "%TEMP%\microsoft-small-basic-install.log"Deinstallation
msiexec /x {7AAA27E4-CDB3-49C0-AA2D-41827C001BA3} /qn /norestart- MSI-Produktcode
- {7AAA27E4-CDB3-49C0-AA2D-41827C001BA3}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7AAA27E4-CDB3-49C0-AA2D-41827C001BA3}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-microsoft-small-basic.ps1
$url = 'https://smallbasic-publicwebsite.azurewebsites.net/assets/SmallBasic_v1.2.msi'
$sha256 = 'BB4135C1150128C1324AB8DE277278560445E14A00AA1B72CE948696826B8E64'
$file = Join-Path $env:TEMP 'SmallBasic_v1.2.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait