Thread: PostgresQL intallation error: Unable to write inside TEMP environment variable path‏

Hi again,

I asked this earlier and could not solve the problem yet. I've been looking for information but I could not get over the error. I checked the following posts:

http://1stopit.blogspot.dk/2011/01/postgresql-83-and-84-fails-to-install.html
http://igordcard.blogspot.dk/2012/03/unable-to-write-inside-temp-environment.html

I  would really appreciate if you can help me with this problem that is blowing my mind...



When I try to install PostgresQL (version 9.2.1.). I get the following message:

"Unable to write inside TEMP environment variable path"

I need some help with this as I've read lots of posts about how to solve the problem and I have not succeed.

Here I forward to you the bitrock_installer text.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Log started 10/26/2012 at 19:06:53
Preferred installation mode : qt
Trying to init installer in mode qt
Mode qt successfully initialized
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.2 Data Directory. Setting variable iDataDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.2 Base Directory. Setting variable iBaseDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.2 Service ID. Setting variable iServiceName to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.2 Service Account. Setting variable iServiceAccount to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.2 Super User. Setting variable iSuperuser to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.2 Branding. Setting variable iBranding to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.2 Version. Setting variable brandingVer to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.2 Shortcuts. Setting variable iShortcut to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.2 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value
[19:07:01] Existing base directory:
[19:07:01] Existing data directory:
[19:07:01] Using branding: PostgreSQL 9.2
[19:07:01] Using Super User: postgres and Service Account: NT AUTHORITY\NetworkService
[19:07:01] Using Service Name: postgresql-9.2
Executing cscript //NoLogo "C:\Users\Raül\AppData\Local\Temp\prerun_checks.vbs"
Script exit code: 1

Script output:
 Error de CScript: No se encuentra el motor de secuencias de comandos "VBScript" para la secuencia "C:\Users\Ral\AppData\Local\Temp\prerun_checks.vbs".

Script stderr:
 Program ended with an error exit code

Error running cscript //NoLogo "C:\Users\Raül\AppData\Local\Temp\prerun_checks.vbs" : Program ended with an error exit code
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I'm running it with admin rights. No antivirus activated.


I'm not a computer expert, so I'll need detailed steps to solve the problem.

Thanks in advance
If you failed to solve your problem after following below 2 links,

http://1stopit.blogspot.dk/2011/01/postgresql-83-and-84-fails-to-install.html
http://igordcard.blogspot.dk/2012/03/unable-to-write-inside-temp-environment.html

try following last solution which will 100% work: (in my case it worked for
Postgre 9.2)

Step 1: Winkey -> Run -> type " %windir%\inf\ " without quotes.

Step 2: Right click on wsh.inf and select install.

And all done. Now your installation will work and you can run any .vbs file
also.



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/PostgresQL-intallation-error-Unable-to-write-inside-TEMP-environment-variable-path-tp5729847p5730009.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.