Commands for installing Log4View 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 PROSA.Log4View -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PROSA.Log4View -e --silentwinget uninstall --id PROSA.Log4View -e --silentBy installer
64-bit · EXE (WiX Burn) · All users
Silent install
Log4ViewSetup.exe /quiet /norestartUninstall
msiexec /x {44DB5F57-1667-4697-A7F9-51458E77982E} /qn /norestart- MSI product code
- {44DB5F57-1667-4697-A7F9-51458E77982E}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{44DB5F57-1667-4697-A7F9-51458E77982E}
- UpgradeCode
- {906D9271-23DF-45CA-99E0-022B397280C6}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-log4view.ps1
$url = 'https://www.log4view.com/fileadmin/redaktion/log4view/Log4ViewSetup.exe'
$sha256 = '6C6413C8742CC9E893BF921D2FF4BD75CEE0A1B91D46168BAA38DF2E3AA289E7'
$file = Join-Path $env:TEMP 'Log4ViewSetup.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 '/quiet /norestart' -Wait