I want to launch a windows service immediately after installing it, so I created a launcher and added it as a custom action to the installer. However, it does not work. I can run the service manually, so I know other custom actions [register COM components and the service itself) worked properly. I tried to debug it by logging messages to file and to the event log. However, nothing is logged in either the file [No file is created] and same for the event log. I ran the launcher application separately to check for errors, and both the event log and file entries get created properly. So the conclusion seems to be that somehow windows installer is suppressing both file and event log output.
Please let me know how to resolve this issue. [Writing to file and event log from custom events in a windows installer project] Thanks, Sagar