Commands for installing DropIt 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 LupoPenSuite.DropIt -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LupoPenSuite.DropIt -e --silentwinget uninstall --id LupoPenSuite.DropIt -e --silentBy installer
32-bit · EXE (Inno Setup)
Silent install
download /VERYSILENT /SP- /SUPPRESSMSGBOXESCustom folder
download /VERYSILENT /SP- /SUPPRESSMSGBOXES /DIR="C:\Apps\dropit"PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-dropit.ps1
$url = 'https://sourceforge.net/projects/dropit/files/DropIt/v8.5.1/DropIt_v8.5.1_Setup.exe/download'
$sha256 = '642B509FD8919A3C8BE3275089BD7CD1BF086F2449AD292473A66BECCF0F8A8E'
$file = Join-Path $env:TEMP 'download'
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 /SP- /SUPPRESSMSGBOXES' -Wait