Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long - Mailing list pgsql-bugs

From Sandeep Thakkar
Subject Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
Date
Msg-id CANFyU967fJzH943e_bOmDVpGW2rmk9Jk-=ya1oVafPtUTYsSxQ@mail.gmail.com
Whole thread Raw
In response to BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long  (gtsal@intracom.gr)
Responses Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long
List pgsql-bugs
Thanks George. I have fixed the typo in initcluster.vbs on all affected
branches.

On Tue, Oct 30, 2012 at 4:24 PM, <gtsal@intracom.gr> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      7628
> Logged by:          George Tsaloukidis
> Email address:      gtsal@intracom.gr
> PostgreSQL version: 9.2.1
> Operating system:   Windows 7 Home Premium 64-bit, SP 1
> Description:
>
> Dear All,
>
> I downloaded setup file postgresql-9.2.1-1-windows-x64.exe
> from your web site, and tried to install PostgreSQL on my machine.
> Before finishing, one-click installer displayed the message
> =93initializing the database cluster=94 and stayed there for hours.
>
> Using perfmon.exe tool I found that there was a lot of disk activity
> and that program icacls.exe were accessing a lot of files contained
> in some personal folders. Selected installation directory was
> =93C:\Program Files\PostgreSQL\9.2=94.
>
> Search on the web revealed that installer uses icacls.exe to change acces=
s
> permissions on installation directory. However in my case, files accessed
> by icacls.exe had nothing to do with installation directory.
>
> The next step was to check file
> =93C:\Program Files\PostgreSQL\9.2\installer\server\initcluster.vbs=94.
> That script calls icacls.exe for all folders consisting
> installation directory except for =93C:\=94 and =93C:\Program Files=94
> (if they are part of installation directory). Unfortunately,
> instead of accessing %SYSTEMDRIVE% environment variable, script tries
> to get the value of %SYSTEMDRIVER%, which does not exist.
> So system=92s root directory is not really excluded and if it contains
> a lot of file (as mine), the installation may need some hours.
>
> To check it, I defined a new environment variable
> (SYSTEMDRIVER=3D%SYSTEMDRIVE%)
> and ran the setup program again. This time installation finished within a
> couple of minutes.
>
> Best Regards,
> George.
>
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>



--=20
Sandeep Thakkar
Senior Software Engineer
EnterpriseDB Corporation
The Enterprise Postgres Company
Phone: +91.20.30589514

Website: www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb

This e-mail message (and any attachment) is intended for the use of the
individual or entity to whom it is addressed. This message contains
information from EnterpriseDB Corporation that may be privileged,
confidential, or exempt from disclosure under applicable law. If you are
not the intended recipient or authorized to receive this for the intended
recipient, any use, dissemination, distribution, retention, archiving, or
copying of this communication is strictly prohibited. If you have received
this e-mail in error, please notify the sender immediately by reply e-mail
and delete this message.

pgsql-bugs by date:

Previous
From: abaile33@aol.com
Date:
Subject: BUG #7633: postgres92-9.2.1-1.x86_64 requires libuuid.so.16()(64bit)
Next
From: Craig Ringer
Date:
Subject: Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long