Ukazi za namestitev programa SimpleCalcWithPython brez vprašanj, za njegovo odstranitev in za zaznavanje v orodjih za uvajanje. Ukaz je prikazan le, kadar je zanesljiv: iz manifesta ali iz dokumentiranih privzetih stikal tehnologije namestitvene datoteke.
Povezan vodnik: Stikala za tiho namestitev: MSI, NSIS, Inno Setup · Odstranitev programa prek registra ali PowerShella
Z wingetom
PowerShell
winget install --id MukunthP.R.SimpleCalcWithPython -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MukunthP.R.SimpleCalcWithPython -e --silentwinget uninstall --id MukunthP.R.SimpleCalcWithPython -e --silentPo namestitvenih datotekah
64-bitno · EXE (Inno Setup)
Tiha namestitev
SimpleCalcSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Druga mapa
SimpleCalcSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\simplecalcwithpython"PowerShell: prenesi, preveri, namesti
Prenese uradno datoteko, preveri SHA256 in jo tiho namesti.
install-simplecalcwithpython.ps1
$url = 'https://github.com/all-topics/GUI-calculator/releases/download/v1.0.0/SimpleCalcSetup.exe'
$sha256 = 'DF5235A821B81EB55E62A2FD4977D8233748C8FE925CEF35DA11AAD126E1D504'
$file = Join-Path $env:TEMP 'SimpleCalcSetup.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