Greetings to all,
I've been looking for an example of how to write into an XML elements inner
text. In this even possible with WiX?
The node I'm trying to modify is of this sort..
<configuration>
<applicationSettings>
<ConnectionStrings>
<setting name="CrmSdk" serializeAs="String">
<value>MSCrmServices/2007/CrmService.asmx</value>
</setting>
</ConnectionStrings>
</applicationSettings>
</configuration>
I am able to arrive at that <value> node but when I do the setValue operation
in XmlFile it just erases the innertext and doesn't set it to the appropriate
value. This is the code of the mentioned behavior.
<util:XmlFile
Id="ModifyCRMServiceURL1"
File="[APPLICATIONROOTDIRECTORY]Myconfig.exe.config"
Action="setValue"
ElementPath="/configuration/applicationSettings/ConnectionStrings/[EMAIL
PROTECTED]'CrmSdk'[\]]/value"
Value="[CRMSERVICEURL]"
Sequence="1"
/>
The Property being used does have as value.
Thanks for your time..
David
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users