Is there any way to get the files associated with a windows service? Local and remote machine. In case of IIS i use the config file to get list of IIS services and their absolute path on the machine. Need to do this via code.
Thanks
EDIT: To make the question clear, i need to get the installation path of the service.