Use ServiceInstall? Y
Use Installer Class? N
Use Installutil? N

Neil

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of bryan
rasmussen
Sent: 26 August 2008 13:02
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] installation of a .net based service with Wixui

well I found the following article on installing .NET services using
installutil from an installation made with WIX:
http://blog.vagmim.com/2004/09/installing-windows-services-created.html
The thing which is sort of difficult to understand is the statement:

"I had given this link in the WIX users forum and Rob had suggested
the use of the <ServiceInstall> tag as its the native way of
installing services. I forgot to mention this in my article. This is
only for services which implement the Installer class"

Which I don't really understand if that means that the code in the
linked article is only for use with Services written in .Net which
implement the Installer Class, otherwise one should use
ServiceInstall?
Or the exact opposite?
At any rate my service doesn't implement the installer class. Should I
use the code in this example or do something else.

Furthermore my UI is provided using WixUI_Mondo - is there anything
about installing a service with WixUI_Mondo that I should do to make
it work. My current stop in the installation is that I can't install
the service after installation. What should I do to solve this
problem?

Use ServiceInstall? Y/N
Use Installer Class? Y/N
Use Installutil? Y/N - if Y how with WixUI_Mondo?



Thanks,
Bryan Rasmussen


On Mon, Aug 25, 2008 at 12:10 PM, bryan rasmussen
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm making an installer for a Windows Service that has been developed
> in .Net, the following is how I expect to declare my service:
>
>
>            <Component Id='MainExecutable'
> Guid='a462dab0-83F1-4F22-985B-FDB3C8ABD471'>
>              <File Id='RenderingServiceExec' Name='Render'
> LongName='RenderingService.exe' DiskId='1'
>                Source='RenderingService.exe' Vital='yes' />
>
>
>
>                                <ServiceInstall
Id="RenderingServiceInstall"
>
Name="RenderingServiceInstaller"
>
DisplayName="Rendering Service"
>
Type="ownProcess"
>
Start="auto"
>
ErrorControl="normal"
>
Description="Rendering Service Installer"
>
Account="[SERVICEACCOUNT]"
>
Password="[SERVICEPASSWORD]"
>
Vital="yes"
>                                                  />
>                                          <ServiceControl
Id="StartRenderingServiceInstall"
>
Name="RenderingServiceInstaller" Start="install" Wait="no" />
>                                          <ServiceControl
Id="StopRenderingServiceInstall"
> Name="RenderingServiceInstaller"
>
Stop="both" Wait="yes" Remove="uninstall" />
>            </Component>
>
> As i understand it when I install the MainExecutable as part of the
> process of doing the installation it will go ahead and install the
> service, what I am wondering about is how the Service installer knows
> how to install the service, do I need to add an installer to my .Net
> project (I would suppose so)-
>
> Is there anything about the code above that should be changed or done
> differently? I am not in wix 3.0 as I ran into problems compiling
> anything.
>
> Thanks,
> Bryan Rasmussen
>

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

Reply via email to