I’d like to check if some service is running on the local computer before installation of my product. How can I check it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This can be done through a custom action. With custom code you can find any information you want about a service. That information can then be saved in installer properties which can be used during install.
Since you need access to installer properties, you will have to use a win32 DLL or VBScript custom action. You can find a C++ DLL custom action tutorial here:
http://www.codeproject.com/KB/install/msicustomaction.aspx