由于实习需要,要安装IBM的 Datastage 8.5 的客户端,在安装的过程中对系统所需环境检查报错:“microsoft windows script engine必须工作正常”。当时以为是script引擎的问题下了scripten来安装,还是不行。由于其他同事用的都是XP,只有我的是win7 64 bit我觉得是系统问题,但是我不怎么甘心放弃win7,就在我的另外一台台式机安装,结果居然可以。我顿时郁闷死。在网上找了好多方案都行不通,结果在一个老兄的博客找到跟我一样的情况,但是要加他为好友才能看blog ,在他加我为好友前,我继续我的悲剧人生……卸载……重装……卸载……一直折腾了好几天,然后忽然想起这事,没想到老兄居然加我了,我泪奔……PS:因为楼主加别人为好友的时候总是被忽略- -。于是我果断按照上面的方法做了,结果问题解决了,我十二万分的感激这位老兄,下面就是他的方法,我忘了他的网站,只是把当时的解决方案复制了下来,我只截取关键的解决方案,因为口水实在是有点……
google了一下那个错误,有人也遇到过,就是没人解答。我都有点心灰意冷了。记起来讲师说可以到ibm的surport去找支持。我就发了个email。估计这会还没回。然后就上ibm的inforspere网站去搜了一下错误。结果居然有Information Server 8.5 Client install fails checking system requirements for Windows Scripting Engine。链接地址:https://www-304.ibm.com/support/docview.wss?uid=swg21454181 。我建议win7下绝对不要reinstall the Microsoft Windows scripting。到目前为止我都没装上,还被微软给忽悠的乱删文件,后果很严重。
其实那个链接里的第一个方法就能解决。
主要对操作系统做了两处调整:
1、注册微软的jscript.dll。在命令行输入命令:regsvr32 %systemroot%\system32\jscript.dll
2、修正js的注册信息。就是导入一个注册表文件。大家把下面这段文本保存为xx.reg即可,名字随意。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.js]
@="jsfile"
[HKEY_CLASSES_ROOT\.js\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\JSFile]
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,77,00,73,00,68,00,65,00,78,00,74,00,2e,00,64,00,6c,00,6c,00,2c,\
00,2d,00,34,00,38,00,30,00,34,00,00,00
[HKEY_CLASSES_ROOT\JSFile\ScriptEngine]
@="JScript"
[HKEY_CLASSES_ROOT\JSFile\ScriptHostEncode]
@="{85131630-480C-11D2-B1F9-00C04F86C324}"
[HKEY_CLASSES_ROOT\JSFile\Shell]
@="Open"
[HKEY_CLASSES_ROOT\JSFile\Shell\Open\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,57,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\
00,22,00,20,00,25,00,2a,00,00,00
[HKEY_CLASSES_ROOT\JSFile\Shell\Open2]
@=hex(2):4f,00,70,00,65,00,6e,00,20,00,26,00,77,00,69,00,74,00,68,00,20,00,43,\
00,6f,00,6d,00,6d,00,61,00,6e,00,64,00,20,00,50,00,72,00,6f,00,6d,00,70,00,\
74,00,00,00
"MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,73,00,68,00,65,00,78,00,74,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,\
34,00,35,00,31,00,31,00,00,00
[HKEY_CLASSES_ROOT\JSFile\Shell\Open2\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,43,00,53,00,\
63,00,72,00,69,00,70,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\
00,22,00,20,00,25,00,2a,00,00,00
[HKEY_CLASSES_ROOT\JSFile\Shell\Print\Command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,6f,00,\
74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,70,00,20,\
00,25,00,31,00,00,00
[HKEY_CLASSES_ROOT\JSFile\ShellEx\DropHandler]
@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
[HKEY_CLASSES_ROOT\JSFile\ShellEx\PropertySheetHandlers\WSHProps]
@="{60254CA5-953B-11CF-8C96-00AA00B8708C}"
[HKEY_CLASSES_ROOT\JScript]
@="JScript Language"
[HKEY_CLASSES_ROOT\JScript\CLSID]
@="{f414c260-6ac0-11cf-b6d1-00aa00bbbb58}"
[HKEY_CLASSES_ROOT\JScript\OLEScript]
重新检查应该就能通过了,接着就能顺利安装了。在安装的过程中貌似有一个选项是保存安装信息的,我每次都选择了,但是重复在同一个路径下安装时就会有问题,所以大家在安装的时候尽量选择不同的路径,我也不确定这是否跟这个选项有关