PyMODA programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id LUPhysics.PyMODA -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LUPhysics.PyMODA -e --silentwinget uninstall --id LUPhysics.PyMODA -e --silentKurulum dosyasına göre
64 bit · EXE (Inno Setup)
Sessiz kurulum
setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Farklı klasör
setup-win64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pymoda"PowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-pymoda.ps1
$url = 'https://github.com/luphysics/pymoda-installation/releases/download/v1.1.0/setup-win64.exe'
$sha256 = '54859202EB8780808A2122D7EE360B8D87443F5A5953C85ED5B06BEB674C082D'
$file = Join-Path $env:TEMP 'setup-win64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait