Commands for installing X-Mouse Button Control 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 Highresolution.X-MouseButtonControl -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Highresolution.X-MouseButtonControl -e --silentwinget uninstall --id Highresolution.X-MouseButtonControl -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
XMouseButtonControlSetup.2.20.5.exe /SCustom folder
XMouseButtonControlSetup.2.20.5.exe /S /D=C:\Apps\x-mouse-button-control- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\X-Mouse Button Control
64-bit · ZIP
No installation needed (portable)
32-bit · EXE (NSIS) · All users
Silent install
XMouseButtonControlSetup.2.20.5.exe /SCustom folder
XMouseButtonControlSetup.2.20.5.exe /S /D=C:\Apps\x-mouse-button-control- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\X-Mouse Button Control
32-bit · ZIP
No installation needed (portable)
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-x-mouse-button-control.ps1
$url = 'https://dvps.highrez.co.uk/downloads/XMouseButtonControlSetup.2.20.5.exe'
$sha256 = '2240BF5FB5D80938B0676C46EF9F84BC1739C32F60C473FF85E530AE0ECA2818'
$file = Join-Path $env:TEMP 'XMouseButtonControlSetup.2.20.5.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 install-x-mouse-button-control.ps1
$url = 'https://dvps.highrez.co.uk/downloads/XMouseButtonControlSetup.2.20.5.exe'
$sha256 = '2240BF5FB5D80938B0676C46EF9F84BC1739C32F60C473FF85E530AE0ECA2818'
$file = Join-Path $env:TEMP 'XMouseButtonControlSetup.2.20.5.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