<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I guess it should be obvious, but have you checked that your temp
    variable does point somewhere writeable?<br>
    <br>
    <div class="moz-cite-prefix">On 17/04/2018 23:09, Jibran Khan wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:9581e229364940e69e7fcf317378ca01@Exch07.uni.au.dk">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hello,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Apologies if this is an irrelevant
          question, here.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I have been trying to install PostgreSQL
          9.5.11 on Windows 10 (x64) using Enterprise DB interactive
          installer. But, no success.<o:p></o:p></p>
        <p class="MsoNormal">I keep getting this error.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><img
              id="Picture_x0020_1"
              src="cid:part1.83A8C283.E492364D@elizr.com" class=""
              height="209" width="514"></span><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I am aware about the BigSQL installers but
          I prefer the Enterprise DB one :).<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I came across the similar issue here:<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><a
href="https://stackoverflow.com/questions/46118851/unable-to-install-postgresql-on-windows-10"
            moz-do-not-send="true">https://stackoverflow.com/questions/46118851/unable-to-install-postgresql-on-windows-10</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">A little googling routed me towards some
          proposed solutions (<a
href="http://1stopit.blogspot.dk/2011/01/postgresql-83-and-84-fails-to-install.html"
            moz-do-not-send="true">here</a> and
          <a
href="https://serverfault.com/questions/230219/vbscript-wont-run-for-domain-user-on-windows-server-2008-r2"
            moz-do-not-send="true">
            here</a>).<o:p></o:p></p>
        <p class="MsoNormal">I tried them but, no success.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Here is the error message, I am getting.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Can somebody suggest the workaround to fix
          this issue?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">**********************************************<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Log started 04/17/2018 at 11:28:34<o:p></o:p></p>
        <p class="MsoNormal">    Preferred installation mode : qt<o:p></o:p></p>
        <p class="MsoNormal">    Trying to init installer in mode qt<o:p></o:p></p>
        <p class="MsoNormal">    Mode qt successfully initialized<o:p></o:p></p>
        <p class="MsoNormal">    Executing
C:\my_user\AppData\Local\Temp/postgresql_installer_676baef523/temp_check_comspec.bat<o:p></o:p></p>
        <p class="MsoNormal">    Script exit code: 0<o:p></o:p></p>
        <p class="MsoNormal">    <o:p></o:p></p>
        <p class="MsoNormal">    Script output:<o:p></o:p></p>
        <p class="MsoNormal">     "test ok"<o:p></o:p></p>
        <p class="MsoNormal">    <o:p></o:p></p>
        <p class="MsoNormal">    Script stderr:<o:p></o:p></p>
        <p class="MsoNormal">     <o:p></o:p></p>
        <p class="MsoNormal">    <o:p></o:p></p>
        <p class="MsoNormal">    Could not find registry key
          HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5
          Data Directory. Setting variable iDataDirectory to empty value<o:p></o:p></p>
        <p class="MsoNormal">    Could not find registry key
          HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5
          Base Directory. Setting variable iBaseDirectory to empty value<o:p></o:p></p>
        <p class="MsoNormal">    Could not find registry key
          HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5
          Service ID. Setting variable iServiceName to empty value<o:p></o:p></p>
        <p class="MsoNormal">    Could not find registry key
          HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5
          Service Account. Setting variable iServiceAccount to empty
          value<o:p></o:p></p>
        <p class="MsoNormal">    Could not find registry key
          HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5
          Super User. Setting variable iSuperuser to empty value<o:p></o:p></p>
        <p class="MsoNormal">    Could not find registry key
          HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5
          Branding. Setting variable iBranding to empty value<o:p></o:p></p>
        <p class="MsoNormal">    Could not find registry key
          HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5
          Version. Setting variable brandingVer to empty value<o:p></o:p></p>
        <p class="MsoNormal">    Could not find registry key
          HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5
          Shortcuts. Setting variable iShortcut to empty value<o:p></o:p></p>
        <p class="MsoNormal">    Could not find registry key
          HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.5
          DisableStackBuilder. Setting variable iDisableStackBuilder to
          empty value<o:p></o:p></p>
        <p class="MsoNormal">    [11:28:39] Existing base directory: <o:p></o:p></p>
        <p class="MsoNormal">    [11:28:39] Existing data directory: <o:p></o:p></p>
        <p class="MsoNormal">    [11:28:39] Using branding: PostgreSQL
          9.5<o:p></o:p></p>
        <p class="MsoNormal">    [11:28:39] Using Super User: postgres
          and Service Account: NT AUTHORITY\NetworkService<o:p></o:p></p>
        <p class="MsoNormal">    [11:28:39] Using Service Name:
          postgresql-x64-9.5<o:p></o:p></p>
        <p class="MsoNormal">    Executing cscript //NoLogo
"C:\my_user\AppData\Local\Temp\postgresql_installer_676baef523\prerun_checks.vbs"<o:p></o:p></p>
        <p class="MsoNormal">    Script exit code: 1<o:p></o:p></p>
        <p class="MsoNormal">    <o:p></o:p></p>
        <p class="MsoNormal">    Script output:<o:p></o:p></p>
        <p class="MsoNormal">     CScript Error: Loading script
"C:\my_user\AppData\Local\Temp\postgresql_installer_676baef523\prerun_checks.vbs"
          failed (Access is denied. ).<o:p></o:p></p>
        <p class="MsoNormal">    <o:p></o:p></p>
        <p class="MsoNormal">    Script stderr:<o:p></o:p></p>
        <p class="MsoNormal">     Program ended with an error exit code<o:p></o:p></p>
        <p class="MsoNormal">    <o:p></o:p></p>
        <p class="MsoNormal">    Error running cscript //NoLogo
"C:\my_user\AppData\Local\Temp\postgresql_installer_676baef523\prerun_checks.vbs":
          Program ended with an error exit code<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">***********************************************<o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/postgis-users">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>