Install service and UI together

  • Thread starter Thread starter Rob Oldfield
  • Start date Start date
R

Rob Oldfield

I have an app that consists of two parts: a Windows service, and a UI that
allows users to change settings that determine how the service functions.

I can obviously create two msis and use both but, for simplicity, I'd like
to create an msi that installs both of these at the same time (the next
version might allow users to get at the UI from their own machines.... but
not yet).

I haven't tried anything yet, but is it just a case of importing the UI
project into the service solution and then doing something like adding the
primary output of both into the associated setup project?

Does anyone who has tried this have any tips?

Thanks.
 
I haven't tried anything yet, but is it just a case of importing the UI
project into the service solution and then doing something like adding the
primary output of both into the associated setup project?
Exactly!
 
Good question.
I too need to do that, and would like to know if I can use my app to install
the service. If I just include the service.exe, can I, from my main UI app
simply call the service installer class that's embedded in the service.exe
to install the service or is there another method that uses the info from
the service installer class to setup the service? How do I do that?

Thanks in Advance,
Donald Adams
 
To be clearer by service.exe below, I mean "MyService.exe".

Donald Adams said:
Good question.
I too need to do that, and would like to know if I can use my app to install
the service. If I just include the service.exe, can I, from my main UI app
simply call the service installer class that's embedded in the service.exe
to install the service or is there another method that uses the info from
the service installer class to setup the service? How do I do that?

Thanks in Advance,
Donald Adams
 
Back
Top