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
- :
- Re: How to update a PROPERTY from xml on target machine with new value from Edit control
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 03, 2013
02:29 PM
How to update a PROPERTY from xml on target machine with new value from Edit control
I am still fairly new to building installers...so hopefully this is very easy for you more seasoned pro's out there.
I am using InstallShield 2012 Spring - Pro.
After some reading and digging I am able to use a System Search to get XML values that I place into public properties that are used to populate Edit controls on dialogs. Pretty fun to actually figure that out. 🙂
ISSUE: If the user changes the Edit control values originating from the original XML file...I am unable to update the XML on the target machine to reflect the change.
I have the edit control "Property" set to the same public property that was generated from the initial XML file system search. If I am reading the documentation correctly, the public property should be updated with the contents of the edit control.
RESULT: The XML file is not updated with the new value entered in the edit control.
Is there some Event of some type that I need to add in the Control Event table to get this functioning as I need it to? I've tried several different things with no luck so far.
Thank you in advance!
-Mark
I am using InstallShield 2012 Spring - Pro.
After some reading and digging I am able to use a System Search to get XML values that I place into public properties that are used to populate Edit controls on dialogs. Pretty fun to actually figure that out. 🙂
ISSUE: If the user changes the Edit control values originating from the original XML file...I am unable to update the XML on the target machine to reflect the change.
I have the edit control "Property" set to the same public property that was generated from the initial XML file system search. If I am reading the documentation correctly, the public property should be updated with the contents of the edit control.
RESULT: The XML file is not updated with the new value entered in the edit control.
Is there some Event of some type that I need to add in the Control Event table to get this functioning as I need it to? I've tried several different things with no luck so far.
Thank you in advance!
-Mark
(2) Replies
‎Oct 04, 2013
07:23 AM
Ideally that should... What I believe here is the App Search standard action (which does system search) also runs in Install Execute sequence which is overwriting your value which you have set in User Interface sequence.
you can observe this quickly with Verbose log file.
Another simple test would be push the value from system search to a TEMP property and then display TEMP to modicy and set it back to your property in Install Execute sequence.
I haven't personally tested this.. but I believe that's what is happening.
you can observe this quickly with Verbose log file.
Another simple test would be push the value from system search to a TEMP property and then display TEMP to modicy and set it back to your property in Install Execute sequence.
I haven't personally tested this.. but I believe that's what is happening.