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-exe-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

Reply via email to