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

Reply via email to