cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sshevade
Level 4

Add xml elements using automation interface

I have added a xml file to my project. I want to add elements to that XML file and read from the XML in Installscript

Labels (1)
0 Kudos
(1) Reply
banna_k
Revenera
Revenera

Hi @sshevade ,

 

Either you can configure the "XML File Changes" view to modify the XML during runtime (installation) 

Or you can write InstallScript code to create the XML DOM object and then modify the xml based on your requirement.

 

Some reference from  old posts:

https://community.flexera.com/t5/InstallShield-Forum/Instantiating-COM-object-via-InstallScript-CreateObject-function/td-p/26340 

https://stackoverflow.com/questions/7269468/updating-config-xml-in-installscript

0 Kudos