Hello,

im trying to create an installer that has two features,
-> install program itself
+ -> register program as service

The program is a console appication that can run as a service if it has the
parameter "/service". My WIX configuration looks like this:

<Component Id="Program" Guid="7b64901c-9ea3-4926-a49a-e43aae00e582"
Directory="INSTALLDIR">
  <File Source="Test.exe" Id="Test.exe" />
</Component>

<Component Id="ProgramService" Guid="21905878-931c-4713-9a5b-8358acf0c160"
Directory="INSTALLDIR">
  <File Source="Test.exe" Id="Test.exe_Service" />
  <ServiceInstall Id="TestService"
                  ErrorControl="normal"
                  Name="Test"
                  Start="auto"
                  Type="ownProcess"
                  Arguments="/service"
                  Description="Test Service"
                  DisplayName="Test-Service"
                  Vital="yes" />
</Component>

This config dosen't work, im getting ICE30 errors. Is there any other way to
make this work? The <ServiceInstall> needs the <File> node in order to work,
how can i "link" that file node to the file from the first component?

-- Franz
-- 
View this message in context: 
http://n2.nabble.com/How-to-use-%3CServiceInstall%3E-as-a-feature--tp2448383p2448383.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to