Those are both almost perfect, but I can't seem to figure out how to escape
certain characters in the value to be inserted. Specifically, I need to
insert some javascript:

<?js
    //some javascript that must include formatted string properties
    //so that [PropertyName] evaluates to its value during installation
?>

but with that text as the value of the util:XmlFile/@Value attribute, it
won't compile (no surprise error CNDL0104). And neither backslash nor [\<]
(escape sequence for square bracket) seem to escape the greater-than or
less-than characters.

I also tried placing the inserted text into the inner text of the
util:XmlConfig element, but with those characters, it just ignores the text.
Wrapping those characters in CDATA tags inserts the text, but replaces the
greater- and less-than characters with &gt; and &lt;.

What's the trick?
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Can-you-change-the-text-of-an-installed-file-based-on-installation-parameters-tp5378659p5381482.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to