Hi,
I want to read an xml file and create the registry entries aswell as the folder structure during installation. I am using a vbscript custom action .
here is the code I am trying to execute..
Set xmlDoc = WScript.CreateObject ("Microsoft.XMLDOM")
xmlDoc.async=false
strfname=Session.Property("SourceDir")& "\PassSaver.xml"
xmlDoc.load(strfname)
PathKey = "HKCU\Software\MyKey"
Set l = xmlDoc.documentElement.childNodes.item(1).childNodes
for i=1 to l.length
...
....
This code works outside the advanced installer. when I attach the vbs file , the code stops when trying to load the xml file.
any suggestions?
Regards
akundi