搞了半天,原來是 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://stackoverflow.com/questions/5224042/postgresql-9-install-on-winxp-unable-to-write-inside-temp-environment-path