安装postgresql碰到Unable to write inside TEMP environment path

搞了半天,原来是 AVAST搞的鬼,把原来注册表的键值改成它自己了。其实应该是 C:\Windows\System32\vbscript.dll

 

The answer in the following page helpped me. http://forums.enterprisedb.com/posts/list/3040.page

  1. run-> regedit and take backup of registry using export
  2. HKEY_LOCAL_MACHINE->SOFTWARE->Classes->CLSID->B54F3741-5B07-11cf-A4B0-00AA004A55E8} -> InprocServer32
  3. 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

你可能感兴趣的:(Environment)