I am installing a service by using a fragment like this:

     <Component Id="Service" ... >

        <File Id="Service" ... />

        <ServiceInstall Id="Service" ... />

        <ServiceControl Id="StartService" ... />

        <ServiceControl Id="StopService" ... />

      </Component>

 

Is this a good or bad structure, should the ServiceInstall and
ServiceControl be in their own components, e.g.:

     <Component Id="Service" ... >

        <File Id="Service" ... />

      </Component>

     <Component Id="ServiceStuff" ... >

        <ServiceInstall Id="Service" ... />

        <ServiceControl Id="StartService" ... />

        <ServiceControl Id="StopService" ... />

      </Component>

 

Are there any advantages or disadvantages to the structure I have used?

 

Thanks

 

Neil

 

Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to