Kommandon för att installera winpython-dot utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 --silentPer installationsfil
64-bitars · EXE
Tyst installation
Winpython64-3.11.4.0dot.exe -y -o".\winpython"32-bitars · EXE
Tyst installation
Winpython64-3.11.4.0dot.exe -y -o".\winpython"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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