Commands for installing PUB HTML5 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 WonderIdea.PUBHTML5 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id WonderIdea.PUBHTML5 -e --silentwinget uninstall --id WonderIdea.PUBHTML5 -e --silentBy installer
32-bit · ZIP · All users
Silent install
pub-html5.zip /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\PUB HTML5_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-pub-html5.ps1
$url = 'https://pubhtml5.com/download/pub-html5.zip'
$sha256 = '71B19E8FAB76622EAA3B85AAB23934D972075AD3C62758D97C9CA9AA42E02F25'
$file = Join-Path $env:TEMP 'pub-html5.zip'
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