Commando’s om SimpleCalcWithPython zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via 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 --silentPer installer
64-bits · EXE (Inno Setup)
Stille installatie
SimpleCalcSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Andere map
SimpleCalcSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\simplecalcwithpython"PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert 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