Befehle, um Python 3.5 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 Python.Python.3.5 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.5 -e --silentwinget uninstall --id Python.Python.3.5 -e --silentNach Installer
64-Bit · EXE (WiX Burn) · Aktueller Benutzer
Stille Installation
python-3.5.4-amd64.exe /quiet /norestartDeinstallation
msiexec /x {5D57524F-AF24-49A7-B90B-92138880481E} /qn /norestart- MSI-Produktcode
- {5d57524f-af24-49a7-b90b-92138880481e}
- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5d57524f-af24-49a7-b90b-92138880481e}
- UpgradeCode
- {EEB42FF5-6DC6-5D71-9D60-792E37FA8953}
- DisplayVersion
- 3.5.4150.0
64-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
python-3.5.4-amd64.exe /quiet /norestartDeinstallation
msiexec /x {5D57524F-AF24-49A7-B90B-92138880481E} /qn /norestart- MSI-Produktcode
- {5d57524f-af24-49a7-b90b-92138880481e}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5d57524f-af24-49a7-b90b-92138880481e}
- UpgradeCode
- {EEB42FF5-6DC6-5D71-9D60-792E37FA8953}
- DisplayVersion
- 3.5.4150.0
32-Bit · EXE (WiX Burn) · Aktueller Benutzer
Stille Installation
python-3.5.4.exe /quiet /norestartDeinstallation
msiexec /x {06E841FA-CA3B-4886-A820-CD32C614B0C1} /qn /norestart- MSI-Produktcode
- {06e841fa-ca3b-4886-a820-cd32c614b0c1}
- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{06e841fa-ca3b-4886-a820-cd32c614b0c1}
- UpgradeCode
- {3A1A27C0-4578-514F-9380-81D44B2F03AB}
- DisplayVersion
- 3.5.4150.0
32-Bit · EXE (WiX Burn) · Alle Benutzer
Stille Installation
python-3.5.4.exe /quiet /norestartDeinstallation
msiexec /x {06E841FA-CA3B-4886-A820-CD32C614B0C1} /qn /norestart- MSI-Produktcode
- {06e841fa-ca3b-4886-a820-cd32c614b0c1}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{06e841fa-ca3b-4886-a820-cd32c614b0c1}
- UpgradeCode
- {3A1A27C0-4578-514F-9380-81D44B2F03AB}
- DisplayVersion
- 3.5.4150.0
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-python-3-5.ps1
$url = 'https://www.python.org/ftp/python/3.5.4/python-3.5.4-amd64.exe'
$sha256 = '9B7741CC32357573A77D2EE64987717E527628C38FD7EAF3E2AACA853D45A1EE'
$file = Join-Path $env:TEMP 'python-3.5.4-amd64.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 '/quiet /norestart' -Wait install-python-3-5.ps1
$url = 'https://www.python.org/ftp/python/3.5.4/python-3.5.4-amd64.exe'
$sha256 = '9B7741CC32357573A77D2EE64987717E527628C38FD7EAF3E2AACA853D45A1EE'
$file = Join-Path $env:TEMP 'python-3.5.4-amd64.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 '/quiet /norestart' -Wait install-python-3-5.ps1
$url = 'https://www.python.org/ftp/python/3.5.4/python-3.5.4.exe'
$sha256 = 'F27C2D67FD9688E4970F3BFF799BB9D722A0D6C2C13B04848E1F7D620B524B0E'
$file = Join-Path $env:TEMP 'python-3.5.4.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 '/quiet /norestart' -Wait install-python-3-5.ps1
$url = 'https://www.python.org/ftp/python/3.5.4/python-3.5.4.exe'
$sha256 = 'F27C2D67FD9688E4970F3BFF799BB9D722A0D6C2C13B04848E1F7D620B524B0E'
$file = Join-Path $env:TEMP 'python-3.5.4.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 '/quiet /norestart' -Wait