cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mayurbirari
Level 5

How to modify multiple XML substring nodes

Hello,

I am new to installshield and using it for the first time. I want to take a server name as an input from the user and needs to replace a server name which is a substring in more than 1 xml nodes.

Can anybody please suggest me, how can do that?

Thanks in advance.
Labels (1)
0 Kudos
(3) Replies
TheTraveler
Level 8

Hello,

Here is a link that shows you how to modify a web.config file which is, of coarse, an XML encoded file. In the code example, it shows how to use COM objects to modify XML files.

Hope this helps.
0 Kudos
mayurbirari
Level 5

Thank u for the answer.
But is any other simple way to do this by using "XML File changes". I am using InstallScript MSI project.
0 Kudos
DebbieL
Level 17

The following help topic has some info that may be helpful:
Using Windows Installer Properties to Dynamically Modify XML Files
0 Kudos