[postgis-users] Unable to install PostgreSQL 9.5.11 on Windows 10

Jibran Khan jibran at envs.au.dk
Tue Apr 17 12:26:27 PDT 2018


Hi Regina,

Yes, I did already.
Thank you for the suggestion.

Best,
Jibran

From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Regina Obe
Sent: 17 April 2018 17:45
To: 'PostGIS Users Discussion'
Subject: Re: [postgis-users] Unable to install PostgreSQL 9.5.11 on Windows 10

Jibran,

Given this is not a PostGIS question, you should ask this on pg-general list instead.

https://www.postgresql.org/list/pgsql-general/

One thought, did you run the installer as an Administrator - Right click --> Run As Administrator?

Thanks,
Regina

From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Jibran Khan
Sent: Tuesday, April 17, 2018 7:09 AM
To: PostGIS Users Discussion <postgis-users at lists.osgeo.org<mailto:postgis-users at lists.osgeo.org>>
Subject: [postgis-users] Unable to install PostgreSQL 9.5.11 on Windows 10

Hello,

Apologies if this is an irrelevant question, here.

I have been trying to install PostgreSQL 9.5.11 on Windows 10 (x64) using Enterprise DB interactive installer. But, no success.
I keep getting this error.

[cid:image001.png at 01D3D692.AE7C3020]

I am aware about the BigSQL installers but I prefer the Enterprise DB one :).

I came across the similar issue here:

https://stackoverflow.com/questions/46118851/unable-to-install-postgresql-on-windows-10

A little googling routed me towards some proposed solutions (here<http://1stopit.blogspot.dk/2011/01/postgresql-83-and-84-fails-to-install.html> and here<https://serverfault.com/questions/230219/vbscript-wont-run-for-domain-user-on-windows-server-2008-r2>).
I tried them but, no success.

Here is the error message, I am getting.

Can somebody suggest the workaround to fix this issue?


**********************************************

Log started 04/17/2018 at 11:28:34
    Preferred installation mode : qt
    Trying to init installer in mode qt
    Mode qt successfully initialized
    Executing C:\my_user\AppData\Local\Temp/postgresql_installer_676baef523/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 value
    Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-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\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Service Account. Setting variable iServiceAccount to empty value
    Could not find registry key 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\postgresql-x64-9.5 Branding. Setting variable iBranding to empty value
    Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Version. Setting variable brandingVer to empty value
    Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 Shortcuts. Setting variable iShortcut to empty value
    Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value
    [11:28:39] Existing base directory:
    [11:28:39] Existing data directory:
    [11:28:39] Using branding: PostgreSQL 9.5
    [11:28:39] Using Super User: postgres and Service Account: NT AUTHORITY\NetworkService
    [11:28:39] Using Service Name: postgresql-x64-9.5
    Executing cscript //NoLogo "C:\my_user\AppData\Local\Temp\postgresql_installer_676baef523\prerun_checks.vbs"
    Script exit code: 1

    Script output:
     CScript Error: Loading script "C:\my_user\AppData\Local\Temp\postgresql_installer_676baef523\prerun_checks.vbs" failed (Access is denied. ).

    Script stderr:
     Program ended with an error exit code

    Error running cscript //NoLogo "C:\my_user\AppData\Local\Temp\postgresql_installer_676baef523\prerun_checks.vbs": Program ended with an error exit code

***********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20180417/d2825359/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 47561 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20180417/d2825359/attachment.png>


More information about the postgis-users mailing list