Comandos para instalar winpython-dot sin preguntas, desinstalarlo y detectarlo desde herramientas de despliegue. Solo se muestra un comando cuando es seguro: el que indica el manifiesto o el valor predeterminado documentado de la tecnología del instalador.
Guía relacionada: Instalación silenciosa: parámetros MSI, NSIS, Inno · Desinstalar un programa desde el registro o PowerShell
Con winget
PowerShell
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 --silentPor instalador
64 bits · EXE
Instalación silenciosa
Winpython64-3.11.4.0dot.exe -y -o".\winpython"32 bits · EXE
Instalación silenciosa
Winpython64-3.11.4.0dot.exe -y -o".\winpython"PowerShell: descargar, verificar, instalar
Descarga el archivo oficial, comprueba su SHA256 y lo instala en modo silencioso.
install-winpython-dot.ps1
$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 install-winpython-dot.ps1
$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