Does anyone know if it is possible to read data from an XML file using IS script? If not, could IS add this capability to IS pro as a new feature?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
XML files - reading
Started by
Ozone
, Dec 12 2002 21:28
2 replies to this topic
Posted 12 December 2002 - 21:49
I don't know if it's in there, but any feature request needs to be sent directly to InstallShield. Posting it here is not sufficient as these forums are not run by InstallShield.
Posted 17 December 2002 - 18:00
Hi
I succeded to create a XML object and save it to a file using IS script but I do not succeed to read it.
the creating can be like this:
set doc = CreateObject("MSXML.DOMDocument");
set x = doc.createNode(1, "DOC", "");
doc.appendChild(x);
set x1 = doc.createNode(1, "Value", "");
set x2 = doc.createAttribute("name");
x2.Text = "a";
x1.Attributes.setNamedItem(x2);
x.appendChild(x1);
doc.save("e:\\a.xml");
good luck
Guy
I succeded to create a XML object and save it to a file using IS script but I do not succeed to read it.
the creating can be like this:
set doc = CreateObject("MSXML.DOMDocument");
set x = doc.createNode(1, "DOC", "");
doc.appendChild(x);
set x1 = doc.createNode(1, "Value", "");
set x2 = doc.createAttribute("name");
x2.Text = "a";
x1.Attributes.setNamedItem(x2);
x.appendChild(x1);
doc.save("e:\\a.xml");
good luck
Guy