I have written 8 seperate applications which need to be installed on remote computers (a windows service, a systray app, and several utilities). I have created a windows installer project which includes these programs in one deployment file and am able to successfully package the files, add short cuts to appropraite places, make registry entries, etc. Basically I compiled each individual program, copied the compiled results to a common c:\test folder, and then created my deployment project off these files from c:\test.
The problem I am having is that one of the eight files is a windows service, and I can not figure out how to install it from within this installer. I can install it individually, but can not figure out how to install it when bundled with these other 7 programs.
I package a .bat file and have created an .exe to call the bat file. The bat file runs InstallUtil to register the service and start it. I have tried putting the .exe under the install and commit actions, but when looking at the task manager I never see the cmd.exe running to show the batch file has been called.
suffice it to say the service is not installed and my systray app is not launched.
help me gurus. Need a resolution ASAP!!