Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqeWO-00044i-Eu for pgsql-general@arkaria.postgresql.org; Fri, 17 Aug 2018 13:10:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fqeWM-0006jl-QJ for pgsql-general@arkaria.postgresql.org; Fri, 17 Aug 2018 13:10:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqeGn-00015c-7e for pgsql-general@lists.postgresql.org; Fri, 17 Aug 2018 12:54:25 +0000 Received: from sonic303-3.consmr.mail.bf2.yahoo.com ([74.6.131.42]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqeGi-0005z7-0S for pgsql-general@postgresql.org; Fri, 17 Aug 2018 12:54:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1534510457; bh=VFv0tBdPiduR42+d3LG3WN7YACJzDEALAD3aulw0q50=; h=Date:From:To:Subject:References:From:Subject; b=Dpb/Myt+20fRepofWcjlpcMd7ulPrdSg7tg8j1wvpDA/74i8Aw5KC8Gvet84zUp9mWWagRrIpe/LliGVvELr+KZHralziwMLPFfwCqxluPfQ4ga01RumBboZfmSO4nDhwDj7XPXgp9t5qfhnV5DOLYhaanH0LUlfwkDB+toDcb3WsPAvnMgcqDt7zMOj3JG4iXgk/FmDpdH8kw5Iwyqer513iGszbwoWCeeQYhAoarm1rQOJtBgK6QlqadHm9G1TK+CcORvvcmyjXu/JH3xmCwdZ7bqhTZEztEojnDojaaFujw1n6g5sD9/RnPWoSxv9d15DFE372K/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.bf2.yahoo.com with HTTP; Fri, 17 Aug 2018 12:54:17 +0000 Date: Fri, 17 Aug 2018 12:54:16 +0000 (UTC) From: abhinav srivastava To: Message-ID: <1983020482.8999886.1534510456343@mail.yahoo.com> Subject: =?UTF-8?Q?Error_installing_postgresql_9.5.14_on_windows7:_=E2=80=9Cun?= =?UTF-8?Q?able_to_write_inside_temp_environment_variable_path=E2=80=9D?= MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8999885_1118272182.1534510456341" References: <1983020482.8999886.1534510456343.ref@mail.yahoo.com> X-Mailer: WebService/1.1.12206 YMailNorrin Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Content-Length: 7094 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_8999885_1118272182.1534510456341 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I have already tried what have been suggested online but nothing worked.I t= ried this solution:https://www.youtube.com/watch?v=3Dh6HRGFJvzzw=C2=A0I als= o 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:\User= s\Abhinav\AppData\Local\Temp/postgresql_installer_2b07efb6c7/temp_check_com= spec.bat=C2=A0Script exit code: 0 Script output:=C2=A0"test ok" Script stderr: Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installa= tions\postgresql-x64-9.5 Data Directory. Setting variable iDataDirectory to= empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\Postgre= SQL\Installations\postgresql-x64-9.5 Base Directory. Setting variable iBase= Directory to empty valueCould not find registry key HKEY_LOCAL_MACHINE\SOFT= WARE\PostgreSQL\Installations\postgresql-x64-9.5 Service ID. Setting variab= le iServiceName to empty valueCould not find registry key HKEY_LOCAL_MACHIN= E\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Service Account. Set= ting variable iServiceAccount to empty valueCould not find registry key HKE= Y_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 Br= anding. Setting variable iBranding to empty valueCould not find registry ke= y HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 V= ersion. 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 registr= y key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9= .5 DisableStackBuilder. Setting variable iDisableStackBuilder to empty valu= e[00:59:08] Existing base directory:=C2=A0[00:59:08] Existing data director= y:=C2=A0[00:59:08] Using branding: PostgreSQL 9.5[00:59:08] Using Super Use= r: postgres and Service Account: NT AUTHORITY\NetworkService[00:59:08] Usin= g Service Name: postgresql-x64-9.5Executing cscript //NoLogo "C:\Users\Abhi= nav\AppData\Local\Temp\postgresql_installer_2b07efb6c7\prerun_checks.vbs"Sc= ript exit code: 1 Script output:=C2=A0CScript Error: Can't find script engine "VBScript" for = script "C:\Users\Abhinav\AppData\Local\Temp\postgresql_installer_2b07efb6c7= \prerun_checks.vbs". Script stderr:=C2=A0Program ended with an error exit code ------=_Part_8999885_1118272182.1534510456341 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I have already tried what have been suggested online but nothing wo= rked.I tried this solution:
https://www.youtube.com/watch?v=3Dh6H= RGFJvzzw 
I also tried to enable WSH via http://1stopit.blog= spot.com/2011/01/postgresql-83-and-84-fails-to-install.html but all this di= d 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

M= y bitlock installer log is as follows. OS is windows 7 (64 bit)

Log started 08/17/2018 at 00:59:05
Pre= ferred installation mode : qt
Trying to init installer in mode qt=
Mode qt successfully initialized
Executing C:\Users\Ab= hinav\AppData\Local\Temp/postgresql_installer_2b07efb6c7/temp_check_comspec= .bat 
Script exit code: 0

Script ou= tput:
 "test ok"

Script stderr:


Could not find registry key HKEY_LOCAL= _MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Data Director= y. Setting variable iDataDirectory to empty value
Could not find = registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresq= l-x64-9.5 Base Directory. Setting variable iBaseDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\= Installations\postgresql-x64-9.5 Service ID. Setting variable iServiceName = to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOF= TWARE\PostgreSQL\Installations\postgresql-x64-9.5 Service Account. Setting = variable iServiceAccount to empty value
Could not find registry k= ey HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 = Super User. Setting variable iSuperuser to empty value
Could not = find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\post= gresql-x64-9.5 Branding. Setting variable iBranding to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Instal= lations\postgresql-x64-9.5 Version. Setting variable brandingVer to empty v= alue
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\Post= greSQL\Installations\postgresql-x64-9.5 Shortcuts. Setting variable iShortc= ut to empty value
Could not find registry key HKEY_LOCAL_MACHINE\= SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 DisableStackBuilder. S= etting variable iDisableStackBuilder to empty value
[00:59:08] Ex= isting base directory: 
[00:59:08] Existing data directory:&= nbsp;
[00:59:08] Using branding: PostgreSQL 9.5
[00:59:= 08] Using Super User: postgres and Service Account: NT AUTHORITY\NetworkSer= vice
[00:59:08] Using Service Name: postgresql-x64-9.5
= Executing cscript //NoLogo "C:\Users\Abhinav\AppData\Local\Temp\postgresql_= installer_2b07efb6c7\prerun_checks.vbs"
Script exit code: 1
=

Script output:
 CScript Error: Can't fin= d 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
------=_Part_8999885_1118272182.1534510456341--