Commands for installing pandoc-plot 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 LaurentPRenedeCotret.pandoc-plot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LaurentPRenedeCotret.pandoc-plot -e --silentwinget uninstall --id LaurentPRenedeCotret.pandoc-plot -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
pandoc-plot-wininst-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
pandoc-plot-wininst-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pandoc-plot"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4AD298C3-6FD5-49B2-9E4A-8FEB19C63640}_is1
- Install folder
- %ProgramFiles%\pandoc-plot
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-pandoc-plot.ps1
$url = 'https://github.com/LaurentRDC/pandoc-plot/releases/download/1.9.2/pandoc-plot-wininst-x86_64.exe'
$sha256 = '25321CCC00D3BCEB8605D2BD7949B5B354DE049B2F88AECB03889284ACD545EE'
$file = Join-Path $env:TEMP 'pandoc-plot-wininst-x86_64.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