Xml/Xslt - How to tell version of MSXML installed and update

Asked By Peter Bromberg on 23-Mar-01 12:41 PM
Anybody got code to tell what version MSXML is installed and do a silent update.
Devil Scorpio replied to Peter Bromberg on 18-Jul-14 11:44 AM
Save this as an HTML file and test you own machine to find the version of MSXML Installed

<html>
<head>
<title>MSXML Version Check</title>

<script language="JavaScript">
<!--

function MSXMLversion()
{
var msxv = ""

if(window.ActiveXObject)
{
try {
msxv += ( new ActiveXObject("Microsoft.XMLHTTP"))?
"<LI>Microsoft.XMLHTTP":"";
msxv += ( new ActiveXObject("Msxml2.XMLHTTP"))? "<LI>Msxml2.XMLHTTP":"";
msxv += ( new ActiveXObject("Msxml2.XMLHTTP.3.0"))?
"<LI>Msxml2.XMLHTTP.3.0":"";
msxv += ( new ActiveXObject("Msxml2.XMLHTTP.4.0"))?
"<LI>Msxml2.XMLHTTP.4.0":"";
msxv += ( new ActiveXObject("Msxml2.XMLHTTP.5.0"))?
"<LI>Msxml2.XMLHTTP.5.0":"";
msxv += ( new ActiveXObject("Msxml2.XMLHTTP.6.0"))?
"<LI>Msxml2.XMLHTTP.6.0":"";
} catch (e) {

}
}
return msxv
}

//-->
</script>

</head>
<body>

<input type="button"
onclick="document.getElementById('output').innerHT ML='<b>MSXML
versions detected: <BR><BR></b>'+ MSXMLversion()"
value="MSXML Check">
</form>
<P>&nbsp;</P>
<div id="output"></div>
</body>
<html>
Perry replied to Devil Scorpio on 26-May-10 09:30 AM
It doesn't work for me.
Devil Scorpio replied to Peter Bromberg on 18-Jul-14 11:45 AM
You can get the version of MSXML installed and update by using following vb script

Set objFSO = CreateObject("Scripting.FileSystemObject")
Msgbox "Version of MSXML installed is " & objFSO.GetFileVersion("c:\windows\system32\msxml.dll")


The different file present in the system32 are as follows for MSXML and updates:
msxml.dll
msxmlr.dll
msxml2.dll
msxml2r.dll
msxml3.dll
msxml3r.dll
msxml6.dll
msxml6r.dll

Please get the attached sample
MSXML Version.zip