This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- XML File changes - Installscript - not working
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 14, 2012
10:34 AM
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?
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}
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 14, 2012
04:51 PM
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.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)