Hi Wix Users,

I'm trying to do what I would think would be pretty trivial and that is update 
a config file value based on a parameter passed into the msi.  But when I try 
to do this, I keep getting the error : error CNDL0200 : The Component element 
contains an unhandled extension element 'util:XmlConfig'.

<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'   
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>
~~~~~~~~~~~~

          <Component Id='DiskUtilQuery' 
Guid='6130f032-09e0-46c7-a8e0-cb38c238c0b0'>
            <File Id='DiskUtilRecorder.exe' Name='DiskUtilRecorder.exe' 
DiskId='1' Source='DiskUtilRecorder.exe' />
            <File Id='DiskUtilRecorder.exe.config' 
Name='DiskUtilRecorder.exe.config' DiskId='1' 
Source='DiskUtilRecorder.exe.config' />
            <util:XmlConfig
               Id="SetDataAccessWS"
               File="[#DiskUtilRecorder.exe.config]"
               Action="create"
               ElementPath="/configuration/system.serviceModel/client/endpoint"
               Node="value"
               Value="[DATAACCESSWS]"
               On="install" />

Myapp.exe.config
<client>
      <endpoint address="[my endpoint address]"
        binding="basicHttpBinding" bindingConfiguration="DataAccessServiceSoap"
        contract="DataAccessWS.DataAccessServiceSoap" 
name="DataAccessServiceSoap" />


What am I doing wrong?

Thanks
Charles
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to