Befehle, um AutomatedLab 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 AutomatedLab.AutomatedLab -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AutomatedLab.AutomatedLab -e --silentwinget uninstall --id AutomatedLab.AutomatedLab -e --silentNach Installer
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i AutomatedLab.msi /qn /norestartProtokoll schreiben
msiexec /i AutomatedLab.msi /qn /norestart /l*v "%TEMP%\automatedlab-install.log"Deinstallation
msiexec /x {838CC5A7-D7C9-4438-A18B-D1EEE8F3BB5A} /qn /norestart- MSI-Produktcode
- {838CC5A7-D7C9-4438-A18B-D1EEE8F3BB5A}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{838CC5A7-D7C9-4438-A18B-D1EEE8F3BB5A}
- UpgradeCode
- {6A52C22C-74F0-4CC3-B723-B73A21DB9149}
- Installationsordner
- %ProgramFiles%\WindowsPowerShell\Modules
- DisplayVersion
- 5.61.18
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-automatedlab.ps1
$url = 'https://github.com/AutomatedLab/AutomatedLab/releases/download/5.61.0/AutomatedLab.msi'
$sha256 = '60FFB72B56EAFCB2001514DD09C696F90B5F9A9B2A43BA160F3B04F1D15EDB84'
$file = Join-Path $env:TEMP 'AutomatedLab.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