Commands for installing NitroShare 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 NathanOsman.NitroShare -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NathanOsman.NitroShare -e --silentwinget uninstall --id NathanOsman.NitroShare -e --silentBy installer
64-bit · EXE (Inno Setup) · en-US
Silent install
nitroshare-0.3.4-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
nitroshare-0.3.4-windows-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\nitroshare"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{174A4547-917E-4BAF-9F25-FCE545CCD487}_is1
32-bit · EXE (Inno Setup) · en-US
Silent install
nitroshare-0.3.4-windows-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
nitroshare-0.3.4-windows-x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\nitroshare"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{174A4547-917E-4BAF-9F25-FCE545CCD487}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-nitroshare.ps1
$url = 'https://launchpadlibrarian.net/340674247/nitroshare-0.3.4-windows-x86_64.exe'
$sha256 = '0816AA1147F66D09B5AF96170AB34361516A58A98D98470025B285ADE71CA358'
$file = Join-Path $env:TEMP 'nitroshare-0.3.4-windows-x86_64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-nitroshare.ps1
$url = 'https://launchpadlibrarian.net/340674463/nitroshare-0.3.4-windows-x86.exe'
$sha256 = 'FF1F14EBF19E456B6AB5FFA67AE3C004242EA4F6AC7266CF9587A1BEA6A2F97F'
$file = Join-Path $env:TEMP 'nitroshare-0.3.4-windows-x86.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait