I have an XML file that looks like this. The goal is to alter the en_US
to some other value.

<web-app>
        <context-param>
                <param-name>DEFAULT_LOCALE</param-name>
                <param-value>en_US</param-value>
        </context-param>
        <context-param>
                <param-name>DEFAULT_TIMEZONE</param-name>
                <param-value>Pacific</param-value>
        </context-param>
</web-app>

I've written a very small installer with this entry

<util:XmlConfig Id="XMLMod50" File="C:\web.xml" Action="create"
Node="value" On="install"
ElementPath="/web-app/context-param[\[]param-name='DEFAULT_LOCALE'[\]]"
Name="./param-value" Value="other"
VerifyPath="/web-app/context-param[\[]param-name='DEFAULT_LOCALE'[\]]"
Sequence="1" />

The verbose log says "Installation failed" near the end, but it doesn't
display an error, it simply rolls back. I'm not sure if my xPath syntax
is wrong or exactly what it doesn't like. Any ideas?

WiX 3.0.5419.0

Thanks


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to