Skip to main content

Detect Running Processes

A list of executable names to detect before install/upgrade. Anything matching is shown to the user as "please close before continuing", and is killed if the user agrees.

The MSI engine already detects processes that are using files installed by the package – this list is for additional processes outside that auto-detection (background helpers, system-tray apps with separate exes, etc.).

"msi": {
"detectRunningProcesses": [
"MyApplication.exe"
]
}

Use the plain executable file name (e.g., "MyApp.exe"). Multiple entries are supported for apps with helper processes:

"msi": {
"detectRunningProcesses": [
"MyApplication.exe",
"MyApplication.Updater.exe",
"MyApplication.Tray.exe"
]
}