Commands for installing Paste Into File 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 PasteIntoFile.PasteIntoFile -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PasteIntoFile.PasteIntoFile -e --silentwinget uninstall --id PasteIntoFile.PasteIntoFile -e --silentBy installer
32-bit · MSI · Current user · en-US
Silent install
msiexec /i PasteIntoFile_v5.6.2_installer_signed.msi /qn /norestartWrite a log
msiexec /i PasteIntoFile_v5.6.2_installer_signed.msi /qn /norestart /l*v "%TEMP%\paste-into-file-install.log"Uninstall
msiexec /x {CA74FFE0-A1A2-42B6-8DD3-358725B79F9A} /qn /norestart- MSI product code
- {CA74FFE0-A1A2-42B6-8DD3-358725B79F9A}
- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{CA74FFE0-A1A2-42B6-8DD3-358725B79F9A}
- UpgradeCode
- {D3BEE3F0-4EC0-44CC-ADDC-E7A3E133B9D2}
- Install folder
- %ProgramFiles(x86)%\PasteIntoFile
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-paste-into-file.ps1
$url = 'https://github.com/eltos/PasteIntoFile/releases/download/v5.6.2/PasteIntoFile_v5.6.2_installer_signed.msi'
$sha256 = 'C21BEB069E571A91D4CCBF70068A3D079C39C21DBD8BA5EE2E73AF71D3CFB6FB'
$file = Join-Path $env:TEMP 'PasteIntoFile_v5.6.2_installer_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