checking for running programs/services

For all your non-technical questions.
Will

checking for running programs/services

Postby Will » Thu Jun 16, 2005 1:48 pm

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.

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Thu Jun 16, 2005 3:36 pm

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.

Bugger
Posts: 35
Joined: Mon Nov 14, 2005 6:53 pm

Postby Bugger » Mon Nov 21, 2005 4:08 pm

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.

sinan
Site Admin
Posts: 1020
Joined: Sat Nov 13, 2004 8:12 am
Contact:

Postby sinan » Mon Nov 21, 2005 4:44 pm

Not a built-in way yet...sorry.

MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Postby MikeFieger » Mon Apr 03, 2006 11:30 am

Hi!

This feature would really be useful, maybe you could include in one of the next releases? :)

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Mon Apr 03, 2006 2:56 pm

Its been added in! The commands Check Service and Check Process let you check for services and processes.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

MikeFieger
Posts: 52
Joined: Thu Jan 26, 2006 9:09 am

Postby MikeFieger » Tue Apr 04, 2006 3:54 am

Thank you!


Return to “Non-Technical”

Who is online

Users browsing this forum: No registered users and 32 guests