Kommandon för att installera pandoc-plot utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
pandoc-plot-wininst-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
pandoc-plot-wininst-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pandoc-plot"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4AD298C3-6FD5-49B2-9E4A-8FEB19C63640}_is1
- Installationsmapp
- %ProgramFiles%\pandoc-plot
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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