What may be the .xml file that the below .vbs code is expecting for?
Dim newTag : Set newTag = xmlDoc.createElement("Executable")
With newTag
.setAttribute "FileName",ApplicationPath
.setAttribute "Enable","1"
.setAttribute "Version", "0"
End With
'Append childnode
xmlDoc.selectSingleNode("//AdvancedRules/AdvancedRule[@Description='Black Applications']/ApplicationGroup").appendChild(newTag)
"
No comments:
Post a Comment