win7下安裝Datastage 8.5檢查環境報錯
由於實習需要,要安裝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]
重新檢查應該就能通過了,接著就能順利安裝了。在安裝的過程中貌似有一個選項是儲存安裝資訊的,我每次都選擇了,但是重複在同一個路徑下安裝時就會有問題,所以大家在安裝的時候儘量選擇不同的路徑,我也不確定這是否跟這個選項有關