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

Gary Turner g at elizr.com
Tue Apr 17 16:36:29 PDT 2018


I guess it should be obvious, but have you checked that your temp 
variable does point somewhere writeable?

On 17/04/2018 23:09, Jibran Khan wrote:
>
> 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.
>
> 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
>
> ***********************************************
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users

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


More information about the postgis-users mailing list