Commands for installing i2pd 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 PurpleI2P.i2pd -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PurpleI2P.i2pd -e --silentwinget uninstall --id PurpleI2P.i2pd -e --silentBy installer
32-bit · EXE (Inno Setup) · All users
Silent install
setup_i2pd_v3.0.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
setup_i2pd_v3.0.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\i2pd"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{621A23E0-3CF4-4BD6-97BC-4835EA5206A2}_is1
- Install folder
- %ProgramFiles%\I2Pd
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-i2pd.ps1
$url = 'https://github.com/PurpleI2P/i2pd/releases/download/3.0.0/setup_i2pd_v3.0.0.exe'
$sha256 = '0B5414C01BE9E037C76589860B79DCD7685B2C72768AE8D7A0515C5E303F20B6'
$file = Join-Path $env:TEMP 'setup_i2pd_v3.0.0.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