我試圖安裝postgresql 8.4在我的Windows 7(64位)。但它失敗postgresql安裝失敗
Initialising the database cluster (this may take a few minutes)... Executing cscript //NoLogo "C:\PostgreSQL\8.4/installer/server/initcluster.vbs" "postgres" "postgres" "****" "C:\PostgreSQL\8.4" "C:\PostgreSQL\data" 5432 "DEFAULT" Script exit code: 1 Script output: CScript Error: Can't find script engine "VBScript" for script "C:\PostgreSQL\8.4\installer\server\initcluster.vbs". Script stderr: Program ended with an error exit code Error running cscript //NoLogo "C:\PostgreSQL\8.4/installer/server/initcluster.vbs" "postgres" "postgres" "****" "C:\PostgreSQL\8.4" "C:\PostgreSQL\data" 5432 "DEFAULT" : Program ended with an error exit code Problem running post-install step. Installation may not complete correctly The database cluster initialisation failed. Creating Uninstaller Creating uninstaller 25% Creating uninstaller 50% Creating uninstaller 75%
我用Google搜索這個,然後運行命令「REGSVR32的vbscript.dll」在日誌下面的消息,它顯示消息「中的DllRegisterServer vbscript.dll中是成功的」,但它沒有解決了我的問題。
此外,我在註冊表中設置{B54F3741-5B07-11cf-A4B0-00AA004A55E8}的默認值爲vbscript.dll的文件路徑,但它也沒有解決我的問題。
如何解決這個問題?
你能從命令行手動運行.vbs腳本嗎?你爲什麼要安裝即將過時的版本?目前的版本是9.1和9.2,在門口 – 2012-07-25 21:34:21
8.4。*什麼*順便說一句?對安裝人員進行了一系列改進。 [8.4.12](http://www.enterprisedb.com/products-services-training/pgdownload#windows)是最新的,這就是你正在使用的?在運行任何腳本之前,新版本應該檢查工作的VBScript環境。另外:在重新註冊vbscript之後,上面的日誌是從*開始的嗎?如果沒有,再次檢查日誌,可能會遇到不同的問題。 – 2012-07-26 04:28:41
我也試過9.1,但結果相同。這是註冊vbscript之後的最新日誌。 – shin 2012-07-26 04:30:33