I was trying to install PostgreSQL 9.2 in Windows 7. When I launched the installer, it failed and showed the error message:
Unable to write inside TEMP environment variable path
I did a lot of research. I tried almost all methods but none of them works. Finally I came across this post.
I can see my HKEY_LOCAL_MACHINE->SOFTWARE->Classes->CLSID->B54F3741-5B07-11cf-A4B0-00AA004A55E8} -> InprocServer32
is NOT C:\Windows\System32\vbscript.dll
. It is incorrectly set to C:\Program Files\Common Files\McAfee\SystemCore\ScriptSn.20120815030544.dll
. Actually I don't have McAfee installed on my machine.
But when I tried modifying this key, Windows regedit doesn't allow me to change this key.
So what can I do to resolve this problem?
Run as administrator
from the context menu.) Adminstrative privileges are required to write toHKLM
on Vista and higher (or XP when not running as a power user or local administrator). Software installation isn't really a programming question; this is more suited for Super User instead of StackOverflow.Command
in the search box. WhenCommand Prompt
appears at the top of the menu, right-click it and chooseRun as administrator
. Once that command prompt appears, typeregedit
and hit Enter.) Once again, not a programming question. :-)