Commands for installing Clevershare 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 Clevertouch.Clevershare -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Clevertouch.Clevershare -e --silentwinget uninstall --id Clevertouch.Clevershare -e --silentBy installer
32-bit · MSI · All users
Silent install
msiexec /i Clevershare_Win_5.6.0.3497-signed.msi /qn /norestartWrite a log
msiexec /i Clevershare_Win_5.6.0.3497-signed.msi /qn /norestart /l*v "%TEMP%\clevershare-install.log"Uninstall
msiexec /x {99B27494-20E8-4D32-BF73-BBA0554D66CA} /qn /norestart- MSI product code
- {99B27494-20E8-4D32-BF73-BBA0554D66CA}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{99B27494-20E8-4D32-BF73-BBA0554D66CA}
- UpgradeCode
- {5357D277-480D-42E9-9A8D-5A3DEF98458F}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-clevershare.ps1
$url = 'https://saharaplc.s3.eu-west-2.amazonaws.com/Clevershare+5/Clients/5.7/Windows/Clevershare_Win_5.6.0.3497-signed.msi'
$sha256 = '465CA3CF7DF74696A268746147098A43B366BC23487CB93951CB3371D2A4967C'
$file = Join-Path $env:TEMP 'Clevershare_Win_5.6.0.3497-signed.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