Populair: Gegevens bijgewerkt op 27 oktober 2026

Categorieën

Internet1.356
Communicatie321
Audio & video898
Grafisch & ontwerp539
Kantoor & productiviteit1.124
Ontwikkeltools3.134
AI-tools529
Beveiliging & privacy385
Systeemtools3.114
Gaming523
Onderwijs & wetenschap239
Netwerk & IT284

Python 2: stille installatie en verwijdering

Python is a programming language that lets you work more quickly and integrate your systems more effectively.

Commando’s om Python 2 zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.

Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell

Met winget

PowerShell
winget install --id Python.Python.2 -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Python.Python.2 -e --silent
winget uninstall --id Python.Python.2 -e --silent

Per installer

64-bits · MSI · Alle gebruikers

Stille installatiemsiexec /i python-2.7.18.amd64.msi /qn /norestart
Logbestand schrijvenmsiexec /i python-2.7.18.amd64.msi /qn /norestart /l*v "%TEMP%\python-2-install.log"
Verwijderenmsiexec /x {A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D6} /qn /norestart
MSI-productcode
{A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D6}
Registersleutel voor verwijderen
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D6}

32-bits · MSI · Alle gebruikers

Stille installatiemsiexec /i python-2.7.18.msi /qn /norestart
Logbestand schrijvenmsiexec /i python-2.7.18.msi /qn /norestart /l*v "%TEMP%\python-2-install.log"
Verwijderenmsiexec /x {A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D5} /qn /norestart
MSI-productcode
{A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D5}
Registersleutel voor verwijderen
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D5}

PowerShell: downloaden, controleren, installeren

Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.

install-python-2.ps1
$url = 'https://www.python.org/ftp/python/2.7.18/python-2.7.18.amd64.msi'
$sha256 = 'B74A3AFA1E0BF2A6FC566A7B70D15C9BFABBA3756FB077797D16FFFA27800C05'
$file = Join-Path $env:TEMP 'python-2.7.18.amd64.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

Populairst in Programmeertalen & SDK’s

Alles bekijken
  1. Go Programming LanguageProgrammeertalen & SDK’s
  2. LLVMProgrammeertalen & SDK’s · LLVM
  3. DenoProgrammeertalen & SDK’s · Deno Land Inc.
  4. CMakeProgrammeertalen & SDK’s · Kitware
  5. YarnProgrammeertalen & SDK’s · Yarn Contributors
  6. CcacheProgrammeertalen & SDK’s · Joel Rosdahl
  7. sbtProgrammeertalen & SDK’s · Lightbend, Inc.
  8. BOINCProgrammeertalen & SDK’s · Space Sciences Laboratory, U.C. Berkeley
  9. Dart SDKProgrammeertalen & SDK’s · Google
  10. NVM for WindowsProgrammeertalen & SDK’s · Ecor Ventures LLC

Meer van Python Software Foundation

Alles bekijken
  • Python 3.14Programmeertalen & SDK’s · Python Software Foundation
  • Python 3.13Programmeertalen & SDK’s · Python Software Foundation
  • Python 3.12Programmeertalen & SDK’s · Python Software Foundation
  • Python 3.11Programmeertalen & SDK’s · Python Software Foundation
  • Python 3.10Programmeertalen & SDK’s · Python Software Foundation
  • Python Install ManagerIDE’s & code-editors · Python Software Foundation

Tags

Delen