Commands for installing Modern CSV 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 PFOJEnterprisesLLC.ModernCSV -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PFOJEnterprisesLLC.ModernCSV -e --silentwinget uninstall --id PFOJEnterprisesLLC.ModernCSV -e --silentBy installer
64-bit · MSI · en-US
Silent install
msiexec /i ModernCSV-Win-v1.3.36.msi /qn /norestartWrite a log
msiexec /i ModernCSV-Win-v1.3.36.msi /qn /norestart /l*v "%TEMP%\modern-csv-install.log"Uninstall
msiexec /x {99808631-3718-40B2-9ED0-BE5621AEBE58} /qn /norestart- MSI product code
- {99808631-3718-40B2-9ED0-BE5621AEBE58}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{99808631-3718-40B2-9ED0-BE5621AEBE58}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-modern-csv.ps1
$url = 'https://www.moderncsv.com/release/ModernCSV-Win-v1.3.36.msi'
$sha256 = 'DC0F3400D42207157F8A28026E29483077706E9C61DAD84268B33A2F50E273BF'
$file = Join-Path $env:TEMP 'ModernCSV-Win-v1.3.36.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait