From: abhinav srivastava <abhinav_1_iitm@yahoo.com>
To: pgsql-general@postgresql.org
Subject: Error installing postgresql 9.5.14 on windows7: “unable to write inside temp environment variable path”
Date: Fri, 17 Aug 2018 12:54:16 +0000 (UTC)
Message-ID: <1983020482.8999886.1534510456343@mail.yahoo.com> (raw)
References: <1983020482.8999886.1534510456343.ref@mail.yahoo.com>
Hi,
I have already tried what have been suggested online but nothing worked.I tried this solution:https://www.youtube.com/watch?v=h6HRGFJvzzw I also tried to enable WSH via http://1stopit.blogspot.com/2011/01/postgresql-83-and-84-fails-to-install.html but all this did not solve the problem, still getting the same error.
I am running as administrator and anti virus is disabled.
Can you please guide how to fix this issue?
Thanks and regards,
Abhinav Srivastava
My bitlock installer log is as follows. OS is windows 7 (64 bit)
Log started 08/17/2018 at 00:59:05Preferred installation mode : qtTrying to init installer in mode qtMode qt successfully initializedExecuting C:\Users\Abhinav\AppData\Local\Temp/postgresql_installer_2b07efb6c7/temp_check_comspec.bat Script exit code: 0
Script output: "test ok"
Script stderr:
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Data Directory. Setting variable iDataDirectory to empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Base Directory. Setting variable iBaseDirectory to empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Service ID. Setting variable iServiceName to empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Service Account. Setting variable iServiceAccount to empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Super User. Setting variable iSuperuser to empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Branding. Setting variable iBranding to empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Version. Setting variable brandingVer to empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Shortcuts. Setting variable iShortcut to empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value[00:59:08] Existing base directory: [00:59:08] Existing data directory: [00:59:08] Using branding: PostgreSQL 9.5[00:59:08] Using Super User: postgres and Service Account: NT AUTHORITY\NetworkService[00:59:08] Using Service Name: postgresql-x64-9.5Executing cscript //NoLogo "C:\Users\Abhinav\AppData\Local\Temp\postgresql_installer_2b07efb6c7\prerun_checks.vbs"Script exit code: 1
Script output: CScript Error: Can't find script engine "VBScript" for script "C:\Users\Abhinav\AppData\Local\Temp\postgresql_installer_2b07efb6c7\prerun_checks.vbs".
Script stderr: Program ended with an error exit code
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: abhinav_1_iitm@yahoo.com
Subject: Re: Error installing postgresql 9.5.14 on windows7: “unable to write inside temp environment variable path”
In-Reply-To: <1983020482.8999886.1534510456343@mail.yahoo.com>
References: <1983020482.8999886.1534510456343.ref@mail.yahoo.com> <1983020482.8999886.1534510456343@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox