Příkazy pro instalaci programu JPEGView 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 sylikc.JPEGView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id sylikc.JPEGView -e --silentwinget uninstall --id sylikc.JPEGView -e --silentPodle instalátoru
64bit · MSI · Všichni uživatelé
Tichá instalace
msiexec /i JPEGView64_en-us_1.3.46.msi /qn /norestartZapsat protokol
msiexec /i JPEGView64_en-us_1.3.46.msi /qn /norestart /l*v "%TEMP%\jpegview-install.log"Odinstalace
msiexec /x {9B512822-E3B5-4D72-8CE2-61544D75463C} /qn /norestart- Kód produktu MSI
- {9B512822-E3B5-4D72-8CE2-61544D75463C}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9B512822-E3B5-4D72-8CE2-61544D75463C}
- UpgradeCode
- {CC010056-8703-4EC9-A56E-7CB52641D6F4}
32bit · MSI · Všichni uživatelé
Tichá instalace
msiexec /i JPEGView32_en-us_1.3.46.msi /qn /norestartZapsat protokol
msiexec /i JPEGView32_en-us_1.3.46.msi /qn /norestart /l*v "%TEMP%\jpegview-install.log"Odinstalace
msiexec /x {8C6FBD31-4EF3-44E7-B3C7-5069A74E144D} /qn /norestart- Kód produktu MSI
- {8C6FBD31-4EF3-44E7-B3C7-5069A74E144D}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{8C6FBD31-4EF3-44E7-B3C7-5069A74E144D}
- UpgradeCode
- {CC010056-8703-4EC9-A56E-7CB52641D6F4}
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-jpegview.ps1
$url = 'https://github.com/sylikc/jpegview/releases/download/v1.3.46/JPEGView64_en-us_1.3.46.msi'
$sha256 = '3108A85B5D408FA17027B25454F0EE7E7B450E680DBC1DAB68D26D9099E18BF2'
$file = Join-Path $env:TEMP 'JPEGView64_en-us_1.3.46.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 install-jpegview.ps1
$url = 'https://github.com/sylikc/jpegview/releases/download/v1.3.46/JPEGView32_en-us_1.3.46.msi'
$sha256 = '842A864AD7F26054AA86AED556A56EEA129A1F9D958E6F96E983DF899A2D1A9A'
$file = Join-Path $env:TEMP 'JPEGView32_en-us_1.3.46.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