Commands for installing PrettyMark 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 Eagle1.PrettyMark -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Eagle1.PrettyMark -e --silentwinget uninstall --id Eagle1.PrettyMark -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
PrettyMark-Setup-1.0.0-win-x64.exe /SCustom folder
PrettyMark-Setup-1.0.0-win-x64.exe /S /D=C:\Apps\prettymarkPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-prettymark.ps1
$url = 'https://gitlab.com/api/v4/projects/eagle1%2Fprettymark/packages/generic/prettymark/1.0.0/PrettyMark-Setup-1.0.0-win-x64.exe'
$sha256 = '2932C1AF107F45DF3C02C745CD6B9598FAE2FFF7E9A208205E42B879A90F4499'
$file = Join-Path $env:TEMP 'PrettyMark-Setup-1.0.0-win-x64.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 '/S' -Wait