I have configured the service table as below. When I run the resulting .msi file 
generated from the <msi> task I see two services as I expected. I can start the first 
service but the second service seems to respond to the Start and Stop signals from the 
first service. The two services have distinct names. What am I missing?

Thank you.

Kevin Burton

            <tables>
                <table name="ServiceInstall">
                   <columns>
                       <column name="ServiceInstall" nullable="false" 
category="Identifier" key="true" description="This is the primary key of this table." 
/>
                       <column name="Name" nullable="false" category="Formatted" 
description="This column is the string that gives the service name to install." />
                       <column name="DisplayName" nullable="true" category="Formatted" 
description="This column is the localizable string that user interface programs use to 
identify the service. " />
                       <column name="ServiceType" nullable="false" 
category="DoubleInteger" description="This column is a set of bit flags that specify 
the type of service." />
                       <column name="StartType" nullable="false" 
category="DoubleInteger" description="This column is a set of bit flags that specify 
when to start the service." />
                       <column name="ErrorControl" nullable="false" 
category="DoubleInteger" description="This column specifies the action taken by the 
startup program if the service fails to start during startup." />
                       <column name="LoadOrderGroup" nullable="true" category="Text" 
description="This column contains the string that names the load ordering group of 
which this service is a member." />
                       <column name="Dependencies" nullable="true" 
category="Formatted" description="This column is a list of names of services or load 
ordering groups that the system must start before this service." />
                       <column name="StartName" nullable="true" category="Formatted" 
description="The service is logged on as the name given by the string in this column." 
/>
                       <column name="Password" nullable="true" category="Formatted" 
description="This string is the password to the account name in the IpServiceStartName 
parameter." />
                       <column name="Arguments" nullable="true" category="Formatted" 
description="This column contains any command line arguments or properties required to 
run the service." />
                       <column name="Component_" nullable="false" 
category="Identifier" description="External key to column one of the Component Table. 
Note that to install this service using the InstallService table, the KeyPath for this 
component must be the executable file for the service." />
                       <column name="Description" nullable="true" category="Formatted" 
description="This column contains a localizable description for the service being 
configured." />
                   </columns>
                   <rows>
                       <row>
                           <columns>
                               <column name="ServiceInstall" value="PPCService"/>
                               <column name="Name" value="PPC Service"/>
                               <column name="DisplayName" value="PPC Remoting 
Service"/>
                               <column name="ServiceType" value="16"/>
                               <column name="StartType" value="2"/>
                               <column name="ErrorControl" value="1"/>
                               <column name="Component_" 
value="_4FFC693A3BD245E6BF5CC3A3CCD29432"/>
                               <column name="Description" value="PPC Remoting 
Service."/>
                           </columns>
                       </row>
                       <row>
                           <columns>
                               <column name="ServiceInstall" 
value="TandemHeartbeatService"/>
                               <column name="Name" value="Tandem Heartbeat Service"/>
                               <column name="DisplayName" value="Tandem Heartbeat 
Service"/>
                               <column name="ServiceType" value="16"/>
                               <column name="StartType" value="2"/>
                               <column name="ErrorControl" value="1"/>
                               <column name="Component_" 
value="_4FFC693A3BD245E6BF5CC3A3CCD29432"/>
                               <column name="Description" value="Heartbeat message to 
the Tandem."/>
                           </columns>
                       </row>
                   </rows>
                </table>
                <table name="ServiceControl">
                   <columns>
                       <column name="ServiceControl" nullable="false" 
category="Identifier" key="true" description="This is the primary key of this table." 
/>
                       <column name="Name" nullable="false" category="Formatted" 
description="This column is the string naming the service." />
                       <column name="Event" nullable="false" category="Integer" 
description="This column contains the operations to be performed on the named 
service." />
                       <column name="Arguments" nullable="true" category="Formatted" 
description="A list of arguments for starting services. The arguments are separated by 
null [~] characters." />
                       <column name="Wait" nullable="true" category="Integer" 
description="Leaving this field null or entering a value of 1 causes the installer to 
wait a maximum of 30 seconds for the service to complete before proceeding." />
                       <column name="Component_" nullable="false" 
category="Identifier" description="External key to column one of the Component Table. 
Note that to install this service using the InstallService table, the KeyPath for this 
component must be the executable file for the service." />
                   </columns>
                   <rows>
                       <row>
                           <columns>
                               <column name="ServiceControl" value="PPCService"/>
                               <column name="Name" value="PPC Service"/>
                               <column name="Event" value="168"/>
                               <column name="Component_" 
value="_4FFC693A3BD245E6BF5CC3A3CCD29432"/>
                           </columns>
                       </row>
                       <row>
                           <columns>
                               <column name="ServiceControl" 
value="TandemHeartbeatService"/>
                               <column name="Name" value="Tandem Heartbeat Service"/>
                               <column name="Event" value="168"/>
                               <column name="Component_" 
value="_4FFC693A3BD245E6BF5CC3A3CCD29432"/>
                           </columns>
                       </row>
                   </rows>
                </table>
            </tables>



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to