Příkazy pro instalaci programu Quarto bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id Posit.Quarto -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Posit.Quarto -e --silentwinget uninstall --id Posit.Quarto -e --silentPodle instalátoru
64bit · MSI
Tichá instalace
msiexec /i quarto-1.11.9-win.msi /qn /norestartZapsat protokol
msiexec /i quarto-1.11.9-win.msi /qn /norestart /l*v "%TEMP%\quarto-install.log"Odinstalace
msiexec /x {DD445F7A-358C-4D38-9C80-7F5DC10D1900} /qn /norestart- Kód produktu MSI
- {DD445F7A-358C-4D38-9C80-7F5DC10D1900}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DD445F7A-358C-4D38-9C80-7F5DC10D1900}
- UpgradeCode
- {98FB2E98-96B0-46E1-A6FD-94171233D11B}
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-quarto.ps1
$url = 'https://github.com/quarto-dev/quarto-cli/releases/download/v1.11.9/quarto-1.11.9-win.msi'
$sha256 = 'D0C0AC3B1C7072349B874B369EC4D83BE41F9E0F84F0ACF3BECB692D65AA622E'
$file = Join-Path $env:TEMP 'quarto-1.11.9-win.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait