Hi,
 
I am using WIX doing web service setup. During the setup, it needs to update 
the web.config file with correct value. The web.config file is installed in the 
same msi. 
Here is what I am doing.  
 
  <Property Id='XPath_serviceCredentials' 
Value='//configuration/system.serviceModel/behaviors/serviceBehaviors/[EMAIL 
PROTECTED]"ApiServiceBehaviors"[\]]/serviceCredentials' />
  <Property Id ='WebConfigFilePath' Value='[#f_6da07eb4]' />
  <Component Id='c_UpdateWeb.Config' Guid='{MY_GUID}' Directory='d_API'>
    <CreateFolder />
    <util:XmlConfig Id='SetServiceCertificate' 
                    ElementPath='[XPath_serviceCredentials]/serviceCertificate'
                    File='[WebConfigFilePath]'
                    Name='findValue'
                    On='install'
                    Value='[SERVICE_CERTIFICATE_SUBJECT_NAME]'/>
    <util:XmlConfig Id ='AdminTokenServiceCertificate'
                    
ElementPath='[XPath_serviceCredentials]/issuedTokenAuthentication/knownCertificates/add'
                    File='[WebConfigFilePath]'
                    Name='findValue'
                    On='install'
                    Value='[ADMIN_TOKEN_SERVICE_CERTIFICATE]'/>
  </Component>
 
However, after running MSI, the attribute values are not updated - looks like 
do nothing. The msi verbose log does says "Action ended 11:39:45: 
SchedXmlConfig. Return value 1." There is no more information. What am I 
missing or doing wrong? 
 
Thanks for help!
Zhisheng


      

-------------------------------------------------------------------------
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