Commands for installing Primo Ramdisk 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 RomexSoftware.PrimoRamdisk -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RomexSoftware.PrimoRamdisk -e --silentwinget uninstall --id RomexSoftware.PrimoRamdisk -e --silentBy installer
32-bit · EXE (Inno Setup) · All users · en-US
Silent install
PrimoRamdisk_Mui_Setup_6.6.0.exe /sp- /verysilent /nocancel /norestartCustom folder
PrimoRamdisk_Mui_Setup_6.6.0.exe /sp- /verysilent /nocancel /norestart /DIR="C:\Apps\primo-ramdisk"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{94B97E1E-9B67-4012-A126-6319E211A298}_is1
- Install folder
- %ProgramFiles%\Primo Ramdisk
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-primo-ramdisk.ps1
$url = 'https://www.romexsoftware.com/download/primo-ramdisk/PrimoRamdisk_Mui_Setup_6.6.0.exe'
$sha256 = 'C0C4FEBC66A0A4145AC9F963FBBFE8ADB1C1CD8F6CE3754F976C7E32E7928A2E'
$file = Join-Path $env:TEMP 'PrimoRamdisk_Mui_Setup_6.6.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 '/sp- /verysilent /nocancel /norestart' -Wait