Commands for installing WordPress.com 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 Automattic.Wordpress -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Automattic.Wordpress -e --silentwinget uninstall --id Automattic.Wordpress -e --silentBy installer
32-bit · EXE (NSIS) · Current user · en-US
Silent install
wordpress.com-win32-setup-8.2.4.exe /SCustom folder
wordpress.com-win32-setup-8.2.4.exe /S /D=C:\Apps\wordpress-comUninstall
msiexec /x {ED4E3354-70D4-58F5-8F6D-7420253356E2} /qn /norestart- MSI product code
- {ED4E3354-70D4-58F5-8F6D-7420253356E2}
- Uninstall registry key
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{ED4E3354-70D4-58F5-8F6D-7420253356E2}
32-bit · EXE (NSIS) · All users · en-US
Silent install
wordpress.com-win32-setup-8.2.4.exe /SCustom folder
wordpress.com-win32-setup-8.2.4.exe /S /D=C:\Apps\wordpress-comUninstall
msiexec /x {ED4E3354-70D4-58F5-8F6D-7420253356E2} /qn /norestart- MSI product code
- {ED4E3354-70D4-58F5-8F6D-7420253356E2}
- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{ED4E3354-70D4-58F5-8F6D-7420253356E2}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-wordpress-com.ps1
$url = 'https://github.com/Automattic/wp-desktop/releases/download/v8.2.4/wordpress.com-win32-setup-8.2.4.exe'
$sha256 = '750F097AC3D76F6E6394650501E0F6CC5DCEB571F7E061AD7644D9DBB36E03FD'
$file = Join-Path $env:TEMP 'wordpress.com-win32-setup-8.2.4.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 '/S' -Wait install-wordpress-com.ps1
$url = 'https://github.com/Automattic/wp-desktop/releases/download/v8.2.4/wordpress.com-win32-setup-8.2.4.exe'
$sha256 = '750F097AC3D76F6E6394650501E0F6CC5DCEB571F7E061AD7644D9DBB36E03FD'
$file = Join-Path $env:TEMP 'wordpress.com-win32-setup-8.2.4.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 '/S' -Wait