cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Flexera beginner

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
Flexera
Flexera

Re: Add xml elements using automation interface

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-Crea...

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

0 Kudos