Commands for installing NoteHighlight2016 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 elvirbrk.notehighlight2016 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id elvirbrk.notehighlight2016 -e --silentwinget uninstall --id elvirbrk.notehighlight2016 -e --silentBy installer
64-bit · MSI · Current user · en-US
Silent install
msiexec /i NoteHighlight2016.msi /qn /norestartWrite a log
msiexec /i NoteHighlight2016.msi /qn /norestart /l*v "%TEMP%\notehighlight2016-install.log"Uninstall
msiexec /x {3535E37D-1067-43CA-B92F-9949F37CF89A} /qn /norestart- MSI product code
- {3535E37D-1067-43CA-B92F-9949F37CF89A}
- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3535E37D-1067-43CA-B92F-9949F37CF89A}
- UpgradeCode
- {0025873C-20C5-48D6-A93A-FBD3891A9233}
- DisplayVersion
- 3.9
32-bit · MSI · Current user · en-US
Silent install
msiexec /i NoteHighlight2016x86.msi /qn /norestartWrite a log
msiexec /i NoteHighlight2016x86.msi /qn /norestart /l*v "%TEMP%\notehighlight2016-install.log"Uninstall
msiexec /x {75D55648-3ED7-48E9-8F05-396FA0C68FBF} /qn /norestart- MSI product code
- {75D55648-3ED7-48E9-8F05-396FA0C68FBF}
- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{75D55648-3ED7-48E9-8F05-396FA0C68FBF}
- UpgradeCode
- {0025873C-20C5-48D6-A93A-FBD3891A9233}
- DisplayVersion
- 3.9
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-notehighlight2016.ps1
$url = 'https://github.com/elvirbrk/NoteHighlight2016/releases/download/v3.9/NoteHighlight2016.msi'
$sha256 = '83D311926F59613192A531CFD2D44F01FEBB1F13459E6478B66B628FCEF2D5D6'
$file = Join-Path $env:TEMP 'NoteHighlight2016.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-notehighlight2016.ps1
$url = 'https://github.com/elvirbrk/NoteHighlight2016/releases/download/v3.9/NoteHighlight2016x86.msi'
$sha256 = 'FF61BD8903805779504377D4EB63874DC2D741AF4F1741616194776617451238'
$file = Join-Path $env:TEMP 'NoteHighlight2016x86.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