
sshevade asked a question.
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

sshevade asked a question.
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
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Activity: Status change: 2 hours ago
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
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.revenera.com/s/InstallShield-Forum/Instantiating-COM-object-via-InstallScript-CreateObject-function/td-p/26340
https://stackoverflow.com/questions/7269468/updating-config-xml-in-installscript