cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Lou_Elston
Pilgrim

XML File changes - Installscript - not working

Pure Installscript project (no msi properties, system search, etc). I have an XMl file with the following node ... C:\Program Files\lou1\
I want to get a registry value and replace the binaryPath value (replace the node value, not an attribute value). In the Advanced tab, I have checked the 'set element content' and have a value of '{ID_XMLPATH}'. In the script, in OnfirstUiBefore, I have ' TextSubSetValue ( "", "This should work", TRUE );' When I 'Test the xml install changes', what ends up in the xml file is . What am I doing wrong?
Labels (1)
0 Kudos
1 Reply
Lou_Elston
Pilgrim

Re: XML File changes - Installscript - not working

I was using the 'Test XML file Install changes', it appears that because you are not actually running the install, you do not see the replacement values appear in the output file after running this (you just see the ''. When I tested by doing a real install, the replacement values did appear. Anyway, things are working correctly now.
0 Kudos