The StartType field in the resulting ServiceInstall table is DoubleInteger, so 
a [property] isn't a legal value (it would require the field type to be 
Formatted). 

Phil Wilson 

-----Original Message-----
From: eneo [mailto:e.karagj...@gmail.com] 
Sent: Thursday, October 29, 2009 11:51 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ServiceInstall - Start element


Hi, 

I have created a property that gets the value for the 'Start' element. 
<Property Id="STARTTYPE" Value="disabled" /> 
The compiler returns following error: 
: error CNDL0022 : The ServiceInstall/@Start attribute's 
value, '[STARTTYPE]', is not one of the legal options: 'auto', 'demand', or
'dis 
abled'. 
Failed ... 

the wix code: 
<Property Id="TARGETDIR" Value="D:\Reuters\RkdDataGuideService" /> 
    <Property Id="SERVICELOGONUSER" Value="LocalSystem"/> 
    <Property Id="SERVICELOGONPASSWORD" Value="test" /> 
    <Property Id="STARTTYPE" Value="disabled" /> 
    
<ServiceInstall Id='RkdDataGuideServiceInstall' 
                          DisplayName=RKD Data Guide Service' 
                          Name='RkdDataGuideService' 
                          ErrorControl='normal' 
                          Start='[STARTTYPE]' 
                          Type='ownProcess' 
                          Interactive='no' 
                          Vital='yes' 
                          Account='[SERVICELOGONUSER]' 
                          Password='[SERVICELOGONPASSWORD]' 
                          />                 

          <ServiceControl 
            Id='RkdDataGuideServiceControl' Name='RkdDataGuideService' 
             Start='install' Stop='uninstall' Remove='uninstall' Wait='no' 
            /> 

Is it possible to assign a value for the Start element without explicitly
noting for example: 
Start = 'disabled'? 

Please advise. 

Thank You. 
-- 
View this message in context: 
http://n2.nabble.com/ServiceInstall-Start-element-tp3914783p3914783.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be 
subject to the terms of any agreements between Invensys (and/or its 
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and 
affiliates).



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to