Opdragte om SimpleCalcWithPython sonder vrae te installeer, weer te verwyder en vanuit ontplooiingsgereedskap op te spoor. ’n Opdrag word net gewys as dit seker is: uit die manifes of die gedokumenteerde verstek van die installeertegnologie.
Verwante gids: Skakelaars vir stil installasie: MSI, NSIS, Inno Setup · Deïnstalleer ’n program via die register of PowerShell
Met winget
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 --silentVolgens installeerder
64-bis · EXE (Inno Setup)
Stil installasie
SimpleCalcSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Eie lêergids
SimpleCalcSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\simplecalcwithpython"PowerShell: aflaai, nagaan, installeer
Laai die amptelike lêer af, gaan die SHA256 na en installeer dit stil.
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