Sys_ProcessCount
Description
Counts the number of specified process instances
Â
Syntax
Sys_ProcessCount(sProcessExeName) As Boolean
Â
Parameters
sProcessExeName (String)
Name of process
Â
Return value
Result will be stored in giValue
Â
Example
VBScript
If bStatus Then bStatus = Sys_ProcessCount("CapaInstaller.exe") If bStatus Then bStatus = Job_WriteLog("Custom", "giValue: " & giValue, bStatus, True)
Â
Related functions
Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_CompareProcessOwner
Â
Available from
CapaInstaller 5.1, build 106