Kommandoer til at installere winpython-dot uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
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 --silentPr. installationsfil
64-bit · EXE
Lydløs installation
Winpython64-3.11.4.0dot.exe -y -o".\winpython"32-bit · EXE
Lydløs installation
Winpython64-3.11.4.0dot.exe -y -o".\winpython"PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
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