Commands for installing NativeRest 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 NativeSoft.NativeRest -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NativeSoft.NativeRest -e --silentwinget uninstall --id NativeSoft.NativeRest -e --silentBy installer
64-bit · EXE · Current user
Silent install
nativerest.3.4.1.installer.exe /verysilent- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NativeRest
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-nativerest.ps1
$url = 'https://nativesoft.com/download/nativerest.3.4.1.installer.exe'
$sha256 = 'EADAF8D63A5D42691E9334838BEB125DCD7F855129C5239949A355FFB5880734'
$file = Join-Path $env:TEMP 'nativerest.3.4.1.installer.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' -Wait