搞了半天,原来是 AVAST搞的鬼,把原来注册表的键值改成它自己了。其实应该是 C:\Windows\System32\vbscript.dll
The answer in the following page helpped me. http://forums.enterprisedb.com/posts/list/3040.page
- run-> regedit and take backup of registry using export
- HKEY_LOCAL_MACHINE->SOFTWARE->Classes->CLSID->B54F3741-5B07-11cf-A4B0-00AA004A55E8} -> InprocServer32
- Modify registry entry with new value as C:\Windows\System32\vbscript.dll
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://*.com/questions/5224042/postgresql-9-install-on-winxp-unable-to-write-inside-temp-environment-path