Changes

m
no edit summary
Therefore, this script written in JScript. You can add one or more process names; it will exit with code 1 if any of these processes is running.
Example entry for packages.xml - WPKG will start upgrade of Firefox installer only if there is no firefox.exe process:
<source lang="xml">
<install upgrade cmd='cscript "%SOFTWARE%\wpkg\tools\matchprocess.js" firefox.exe' /><install upgrade cmd='"%SOFTWARE%\Internet\firefox\Firefox Setup 3.0.exe" -ms' />
</source>