Les commandes pour installer winpython-dot sans aucune question, le désinstaller et le détecter depuis un outil de déploiement. Une commande n’apparaît que si elle est certaine : issue du manifeste ou valeur par défaut documentée de la technologie d’installation.
Guide associé: Installation silencieuse : MSI, NSIS, Inno Setup · Désinstaller un programme via le registre ou PowerShell
Avec winget
winget install --id winpython.winpython-dot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id winpython.winpython-dot -e --silentwinget uninstall --id winpython.winpython-dot -e --silentPar installateur
64 bits · EXE
Winpython64-3.11.4.0dot.exe -y -o".\winpython"32 bits · EXE
Winpython64-3.11.4.0dot.exe -y -o".\winpython"PowerShell : télécharger, vérifier, installer
Télécharge le fichier officiel, vérifie son empreinte SHA256 et l’installe en mode silencieux.
$url = 'https://github.com/winpython/winpython/releases/download/6.4.20230625final/Winpython64-3.11.4.0dot.exe'
$sha256 = '09DACBF391ADB11ACE34EB90CD02AE3FC3749DF612B8A1FD288E7E5C47BC1973'
$file = Join-Path $env:TEMP 'Winpython64-3.11.4.0dot.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 '-y -o".\winpython"' -Wait $url = 'https://github.com/winpython/winpython/releases/download/6.4.20230625final/Winpython64-3.11.4.0dot.exe'
$sha256 = '09DACBF391ADB11ACE34EB90CD02AE3FC3749DF612B8A1FD288E7E5C47BC1973'
$file = Join-Path $env:TEMP 'Winpython64-3.11.4.0dot.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 '-y -o".\winpython"' -Wait