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
- :
- help me to update XML file through ism
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
‎Apr 15, 2009
11:12 AM
help me to update XML file through ism
Hi,
Can anybody help me to update a XML file which is already installed in target machine through "System Configuration\XML File Changes" in .ism
what is the value I have to give in 'Attribute' , 'Value' , 'Operation' ?
Can anybody help me to update a XML file which is already installed in target machine through "System Configuration\XML File Changes" in .ism
what is the value I have to give in 'Attribute' , 'Value' , 'Operation' ?
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 16, 2009
11:30 AM
Hi,
Can anyone tell me how to do.... i verified somany other posts, but the installer is no modifying .xml file in a proper way:
eg:-
Original line:
NonStop
Modified line:
dt:dt="string" xmlns:dt="urn:schemas-microsoft-com:datatypes">NonStop
Can anyone tell me how to do.... i verified somany other posts, but the installer is no modifying .xml file in a proper way:
eg:-
Original line:
Modified line:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 16, 2009
06:35 PM
Can you include a screen shot of your XML tree under "System Configuration\XML File Changes"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2009
12:23 AM
Hi yamakamyar,
Thanks for your replay, please see the screen shots of 'General' & 'Advance' tabs....
I tried by selecting and unselecting the following 'element properties'
'Always create this element if it doesn't already exist'
Which 'Encoding' I need to select in 'Advanced' tab of 'Sample.xml' ?
Currently it is "UTF-8" (default)
let me know if i have to change any setting and if u need any other information:
Thanks for your replay, please see the screen shots of 'General' & 'Advance' tabs....
I tried by selecting and unselecting the following 'element properties'
'Always create this element if it doesn't already exist'
Which 'Encoding' I need to select in 'Advanced' tab of 'Sample.xml' ?
Currently it is "UTF-8" (default)
let me know if i have to change any setting and if u need any other information:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2009
12:45 AM
So this will output in sample.xml:
http://servername/virtual...
What was the previous XML you want to remove and what is the new XML you are trying to write/create?
http://servername/virtual...
What was the previous XML you want to remove and what is the new XML you are trying to write/create?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2009
01:34 AM
yamakamyar wrote:
So this will output in sample.xml:
What was the previous XML you want to remove and what is the new XML you are trying to write/create?
I am trying to edit the same .xml file which is available in Installed location...
Desc:- I want to replace or edit the sample.xml(with the user input values) which is available in the installed location of target machine......
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2009
11:09 AM
In Element Name:
{ID_STRING14}Value[@Value="1.20.123.19/GRTE"]
Delete the row with Remove Attribute
In Adv. tab:
Check "Update first..."
I am still unclear of what you want...
Copy and paste what your original sample.xml
Manually go modifiy it and copy and paste revisioned sample.xml.
This way I would have a clear idea of what you expect.
Currently what you have and what you want to achieve is not quite conclusive or making sense...
Thanks,
Yama
{ID_STRING14}Value[@Value="1.20.123.19/GRTE"]
Delete the row with Remove Attribute
In Adv. tab:
Check "Update first..."
I am still unclear of what you want...
Copy and paste what your original sample.xml
Manually go modifiy it and copy and paste revisioned sample.xml.
This way I would have a clear idea of what you expect.
Currently what you have and what you want to achieve is not quite conclusive or making sense...
Thanks,
Yama
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 17, 2009
11:52 AM
Hi yamakamyar,
Thanks for your replay, here is the details regarding my requirement:
+ Installer-A installs this sample.xml in target location
+ Basicall Installer-A has two .xml files, based on the setup type selected by user one .xml file will copy as sample.xml
+ Installer-B takes some input from the user based on the features installed by Installer-A
+ Installer-B has to edit the installed .xml file with the changes in appropriate places
let me know if u need any other information...
Thanks for your replay, here is the details regarding my requirement:
+ Installer-A installs this sample.xml in target location
+ Basicall Installer-A has two .xml files, based on the setup type selected by user one .xml file will copy as sample.xml
+ Installer-B takes some input from the user based on the features installed by Installer-A
+ Installer-B has to edit the installed .xml file with the changes in appropriate places
let me know if u need any other information...