JScript Versions

M

Michael Riggio

I have a win2k system with IE 6.0.28 installed. According to the following
table taken from MSDN, win2k implements JScript 5.1; however, IE 6
implements JScript 5.6.

http://msdn.microsoft.com/library/d...script56/html/js56jsoriversioninformation.asp

If I open a web page that checks the JScript version I always get 5.1.8513
on that machine (win2k with IE 6). However, if I open the same page on my
desktop (win2k with IE 6) I get 5.6.8513. I would have thought installing
IE 6 after a win2k installation would also install JScript 5.6 since the
MSDN indicates that IE 6 implements JScript 5.6.

Am I missing something here? Has anyone else come across this same problem?

Thanks,
-Mike
 
M

Michael Riggio

Hi Jim,
I know I can download the latest versions, but my question is more of
a "why does a win2k machine with IE 6 have JScript 5.1 and not JScript 5.6."
My assumption was that based on the MSDN article I referenced below, IE 6
should "implement" JScript 5.6. Now, I'm not sure if that suggests if you
have IE 6 then you also have JScript 5.6, but it sure seems to suggest that.
I guess I'm wondering if this is MS problem or perhaps an IE installation
option pertaining to JScript 5.6 installation.

Any other thoughts?
-Mike
 
J

Jim Byrd

Hi Michael - I'm not really sure - may be an issue of SP1 vs. the basic IE6?

--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 
M

Michael Riggio

FYI: I did a basic install of win2k pro, which puts IE 5.0 and JScript
5.1.xxxx on the box. I then performed an IE 6 upgrade from microsoft.com
and determined that JScript 5.6.xxxx was installed during the IE 6
installation.

One thing that is interesting is that on our "weird" system (win2k, IE 6,
JScript 5.1), win2k sp4 was installed after IE 6 was installed. I'm
wondering if the sp reverted to an older version of JScript instead of
leaving 5.6 on the machine?

Anyone think this is probable?
 
T

Torgeir Bakken \(MVP\)

Michael said:
FYI: I did a basic install of win2k pro, which puts IE 5.0 and JScript
5.1.xxxx on the box. I then performed an IE 6 upgrade from microsoft.com
and determined that JScript 5.6.xxxx was installed during the IE 6
installation.

One thing that is interesting is that on our "weird" system (win2k, IE 6,
JScript 5.1), win2k sp4 was installed after IE 6 was installed. I'm
wondering if the sp reverted to an older version of JScript instead of
leaving 5.6 on the machine?

Anyone think this is probable?
Hi

No, that is not probable, SP4 does not downgrade jscript.dll
from 5.6.xxxx to 5.1.xxxx.

But there is a lot of rough 3rd party installs (non-MS) out there that
are more than willing to do it. This is usually VB programs that uses
COM interfaces that the script dll's provides.

WSH (Windows Script Host) consist of several files, and some of those
files is often included (with old file versions, usually 5.1.xxxx) in
setup programs for 3rd party programs , and very often there is no
version handling when the files are installed into the system, so
you end up with degraded files.

So e.g. the files scrrun.dll, wshom.ocx, scrobj.dll, vbscript.dll and
jscript.dll (that is part of WSH) is candidates for this downgrade
scenario.

Sadly enough, the file protection/dllcache system doesn't work as it
should for the files in the Windows Script Host, so if a rough 3rd
party install e.g. downgrades scrrun.dll, the correct version in the
DllCache folder doesn't replace it :(

So my advice every time someone have a problem with the WSH
installation is to re-install WSH 5.6.


And, yes, you are correct, IE SP6/SP6SP1 always installs WSH 5.6 (which
gives you JScript 5.6.xxxx).
 
M

Michael Riggio

Great input, thanks!!

Torgeir Bakken (MVP) said:
Hi

No, that is not probable, SP4 does not downgrade jscript.dll
from 5.6.xxxx to 5.1.xxxx.

But there is a lot of rough 3rd party installs (non-MS) out there that
are more than willing to do it. This is usually VB programs that uses
COM interfaces that the script dll's provides.

WSH (Windows Script Host) consist of several files, and some of those
files is often included (with old file versions, usually 5.1.xxxx) in
setup programs for 3rd party programs , and very often there is no
version handling when the files are installed into the system, so
you end up with degraded files.

So e.g. the files scrrun.dll, wshom.ocx, scrobj.dll, vbscript.dll and
jscript.dll (that is part of WSH) is candidates for this downgrade
scenario.

Sadly enough, the file protection/dllcache system doesn't work as it
should for the files in the Windows Script Host, so if a rough 3rd
party install e.g. downgrades scrrun.dll, the correct version in the
DllCache folder doesn't replace it :(

So my advice every time someone have a problem with the WSH
installation is to re-install WSH 5.6.


And, yes, you are correct, IE SP6/SP6SP1 always installs WSH 5.6 (which
gives you JScript 5.6.xxxx).


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/community/scriptcenter/default.mspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top