I ran into a similar issue and was able to resolve it by updating builds.

More info at:
http://blogs.msdn.com/gisenberg/archive/2007/10/09/wix-v3-and-xmlconfig-xmlfile-troubleshooting.aspx


Laxmi Narsimha Rao Oruganti (SQL CE) wrote:
> 
> Hey WIX Users,
> 
> We are using WIXv3 3.0.2921.0 Build.  I am trying to use XmlConfig custom
> action from WIXUTILEXTENSION.  I have been able to compile, but so far I
> don't see this custom action really doing any thing.  My code looks like
> the following:
> 
>     <?define MyXmlFilePath = "[WindowsFolder]test.config" ?>
>     <?define  MyXmlXPath = "/testroot " ?>
> 
>                 <util:XmlConfig Id="AddTestNode" Action="create"
> On="install" Sequence="1"
>                   File="$(var.MyXmlFilePath)"
>                   ElementPath="$(var.MyXmlXPath)"
>                   Node="element" Name="add" />
> 
>                 <util:XmlConfig Id="AddTestNode_name" Action="create"
> On="install"
>                   File="$(var.MyXmlFilePath)"
>                   ElementPath="AddTestNode"
>                   Name="name" Value="test name" />
> 
>                 <util:XmlConfig Id="AddTestNode_invariant" Action="create"
> On="install"
>                   File="$(var.MyXmlFilePath)"
>                   ElementPath="AddTestNode"
>                   Name="invariant" Value="test.invariant" />
> 
>                 <util:XmlConfig Id="AddTestNode_description"
> Action="create" On="install"
>                   File="$(var.MyXmlFilePath)"
>                   ElementPath="AddTestNode"
>                   Name="description" Value="test description" />
> 
>                 <util:XmlConfig Id="AddTestNode_type" Action="create"
> On="install"
>                   File="$(var.MyXmlFilePath)"
>                   ElementPath="AddTestNode"
>                   Name="type" Value="testtype" />
> 
> 
> Can any one tell me the problem with the above code?  Is there anyway to
> get this custom action progress/activity getting logged into msiexec log. 
> Today this custom action does not generate any log :(
> 
> Thanks,
> Laxmi
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/XmlConfig---Unable-to-make-it-work-tf4530602.html#a13126360
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to