我试图安装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