We don't use one executable for two services, but do run into issues with Services during the install. What I generally do is leave the install with the error on the screen and then switch away and see what is going on. First check is to see if the service was installed in control Panel. If so, then I try to start it manually and see what errors I get. Sometimes it's a missing dependency, something in the GAC that was needed, or another service that should have been installed first. It does help a lot in our environment. The message coming from the installer is just a bit too generic to give a real idea of what is stopping it from working in all cases.
Might help?? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MarkZune Sent: Wednesday, July 30, 2008 1:36 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Installing multiple windows services with single exe That was my initial thought as well. Unfortunately that doesn't seem to work. As you said, it compiles fine, but I get an error that the service wasn't installed correctly when running the install. Christopher Karper wrote: > > InstallUtil is a DLL that uses the installer classes compiled into your > managed service. So, none of the service deployment information is going > to > be in the file generated by dark. You will have to look up the > ServiceInstall element, and enter the same information you have in the > self > installer. You don't even need the installer class at that point for > release deployment. I leave mine in FWIW, so I can do easier > install/uninstall during development and so that I can have people do a > manual InstallUtil run if they have issues in the field. > > As far as installing 2 services from the same executable, you will just > need > 2 ServiceInstall elements (one for each service) in the component > containing > your executable file. I know this will build in Wix, but I have not > tested > that it will work on deployment.. That I leave as an exercise for the OP. > :-D > > Chris > > -- View this message in context: http://www.nabble.com/Installing-multiple-windows-services-with-single-e xe-tp18735510p18742357.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users