Commands for installing Graph Generator without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id SAKI.GraphGenerator -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SAKI.GraphGenerator -e --silentwinget uninstall --id SAKI.GraphGenerator -e --silentBy installer
Any CPU · EXE (Inno Setup)
Silent install
GraphGenerator_v1.0_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
GraphGenerator_v1.0_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\graph-generator"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-graph-generator.ps1
$url = 'https://github.com/saki-saki09/GraphGenerator/releases/download/v1.0/GraphGenerator_v1.0_Setup.exe'
$sha256 = 'B34A9212F024A920D0B31CE0ADD50148217A6BC5F7454518FDD2084243C24B9C'
$file = Join-Path $env:TEMP 'GraphGenerator_v1.0_Setup.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