搞了半天,原来是 AVAST搞的鬼,把原来注册表的键值改成它自己了。其实应该是 C:\Windows\System32\vbscript.dll
The answer in the following page helpped me. http://forums.enterprisedb.com/posts/list/3040.page
In fact, I found there are 3 entries of HKEY_LOCAL_MACHINE->SOFTWARE->Classes->CLSID->B54F3741-5B07-11cf-A4B0-00AA004A55E8}, and set the first one as above, it works.
我是在这里找到的答案:
http://stackoverflow.com/questions/5224042/postgresql-9-install-on-winxp-unable-to-write-inside-temp-environment-path
安装postgresql碰到Unable to write inside TEMP environment path
原文:http://www.cnblogs.com/findumars/p/3543504.html