Page 1 of 1
checking for running programs/services
Posted: Thu Jun 16, 2005 1:48 pm
by Will
Is there some way to simply check if a process or service is running or not?
Also, does to IA provide a direct way to check if a service is installed? From what I understand they are listed under HKLM\\SYSTEM\\CurrentControlSet\\Services, so I can check by reading from the registry if there is no other way.
Thanks.
Posted: Thu Jun 16, 2005 3:36 pm
by sinan
I believe you can use WinAPI functions to obtain that information, but InstallAware does not have a built-in mechanism for that as yet (although you could author a plug-in for it in your favorite programming language).
You may call WinAPI functions directly, using the Call DLL Function scripting command.
Posted: Mon Nov 21, 2005 4:08 pm
by Bugger
Has anyone come up with an easy solution to this problem?
If not, I can build a small utility to determine this, but it'd be nice to have a cleaner implementation.
Posted: Mon Nov 21, 2005 4:44 pm
by sinan
Not a built-in way yet...sorry.
Posted: Mon Apr 03, 2006 11:30 am
by MikeFieger
Hi!
This feature would really be useful, maybe you could include in one of the next releases?

Posted: Mon Apr 03, 2006 2:56 pm
by CandiceJones
Its been added in! The commands Check Service and Check Process let you check for services and processes.
Posted: Tue Apr 04, 2006 3:54 am
by MikeFieger
Thank you!