Commands for installing Click Paste 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 CollectiveSoftware.ClickPaste -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CollectiveSoftware.ClickPaste -e --silentwinget uninstall --id CollectiveSoftware.ClickPaste -e --silentBy installer
64-bit · MSI · All users · en-US
Silent install
msiexec /i ClickPaste-Setup.msi /qn /norestart /quietWrite a log
msiexec /i ClickPaste-Setup.msi /qn /norestart /quiet /l*v "%TEMP%\click-paste-install.log"Uninstall
msiexec /x {30D4D354-F1B2-4A34-AE33-42A8FBE26345} /qn /norestart- MSI product code
- {30D4D354-F1B2-4A34-AE33-42A8FBE26345}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{30D4D354-F1B2-4A34-AE33-42A8FBE26345}
- UpgradeCode
- {9717164F-7F5C-4F28-B289-59BD60627FA3}
32-bit · ZIP
No installation needed (portable)
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-click-paste.ps1
$url = 'https://github.com/Collective-Software/ClickPaste/releases/download/v1.4.4/ClickPaste-Setup.msi'
$sha256 = '9F59323344423429A01E9BDFB07AF69A666876D4FD99C13FAD5D4E92D997E32C'
$file = Join-Path $env:TEMP 'ClickPaste-Setup.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', '/quiet' -Wait