Skip to content

Sys\_ProcessCount

Counts the number of specified process instances

Sys_ProcessCount(sProcessExeName) As Boolean

sProcessExeName (String)

Name of process

Result will be stored in giValue

VBScript

If bStatus Then bStatus = Sys_ProcessCount("CapaInstaller.exe")
If bStatus Then bStatus = Job_WriteLog("Custom", "giValue: " & giValue, bStatus, True)

Scripting Guidelines

Sys_WaitForProcess Sys_Sleep Sys_KillProcess Sys_GetProcessOwner Sys_CompareProcessOwner

CapaInstaller 5.1, build 106