Befehle, um Puppet Bolt 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 Puppet.puppet-bolt -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Puppet.puppet-bolt -e --silentwinget uninstall --id Puppet.puppet-bolt -e --silentNach Installer
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i puppet-bolt-3.27.1-x64.msi /qn /norestartProtokoll schreiben
msiexec /i puppet-bolt-3.27.1-x64.msi /qn /norestart /l*v "%TEMP%\puppet-bolt-install.log"Deinstallation
msiexec /x {ABB8DEED-AACF-4880-B0B7-0B7AD96286E9} /qn /norestart- MSI-Produktcode
- {ABB8DEED-AACF-4880-B0B7-0B7AD96286E9}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ABB8DEED-AACF-4880-B0B7-0B7AD96286E9}
- UpgradeCode
- {5F2FFC54-3620-429C-B90E-D16E0348A1E7}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-puppet-bolt.ps1
$url = 'https://downloads.puppetlabs.com/windows/puppet/puppet-bolt-3.27.1-x64.msi'
$sha256 = '55F1794CA2DBC679700FC6922AF3E669BBFD07AAC531CC2398EAF702858368BD'
$file = Join-Path $env:TEMP 'puppet-bolt-3.27.1-x64.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