Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYoBo-0004C7-Go for pgsql-bugs@postgresql.org; Thu, 15 Nov 2012 01:24:20 +0000 Received: from outmail149078.authsmtp.net ([62.13.149.78]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TYoBm-0001fA-S6 for pgsql-bugs@postgresql.org; Thu, 15 Nov 2012 01:24:19 +0000 Received: from mail-c232.authsmtp.com (mail-c232.authsmtp.com [62.13.128.232]) by punt8.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id qAF1OH8t008793; Thu, 15 Nov 2012 01:24:17 GMT Received: from ayaki.localdomain (124-148-90-153.dyn.iinet.net.au [124.148.90.153]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id qAF1O5FX061153 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 15 Nov 2012 01:24:08 GMT Message-ID: <50A44435.2070001@2ndQuadrant.com> Date: Thu, 15 Nov 2012 09:24:05 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 MIME-Version: 1.0 To: limkimhuot CC: pgsql-bugs@postgresql.org Subject: Re: Re: BUG #7628: Installation of PostgreSQL 9.2.1 on Windows 7 may take too long References: <1352916663705-5732002.post@n5.nabble.com> In-Reply-To: <1352916663705-5732002.post@n5.nabble.com> Content-Type: multipart/alternative; boundary="------------010201020509080600040202" X-Server-Quench: 27d1b367-2ec3-11e2-b10b-0025903375e2 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZeVg0b BQteCiN5VAwpPBRK HVkIKg5MJUcNSQVJ NksadBtFaQBbY1ZH HGQLWlZEUFx7W2d/ awMfbAdZfEtKVxtj UFZIR1FNFgBqBAMA SF9vJBgNcnMueHhx ZENhEHFbW0B6O0R6 Fk8GFmsBeGU1O2MC UUENdR4GcQMYYx9F aFV2VHAOZmBSZDQC El17DBoMEg5qYB5Y EEknEH1aChlVRG5u DzEEBikmGUkMWyQ0 KVQhJBYkG10NPV8/ CmIFEQNeaVlLQgpY V35MBiNeOEJjD3Vj CApLFVIXEzAVXSBb ShkvJBAg X-Authentic-SMTP: 61633235383639.1019:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 124.148.90.153/2525 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201211/73 X-Sequence-Number: 34631 This is a multi-part message in MIME format. --------------010201020509080600040202 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 11/15/2012 02:11 AM, limkimhuot wrote: > Dear all, > > Today is my fourth day I have been trying to install PostgreSQL > (postgresql-9.2.1-1-windows-x64) in my window 7 x64, yet it fails all the > time. > > I don't know much about VB script or I am very new in VB. > > Is it correct if I place code of the new environment variable like this: > > SYSTEMDRIVER = %SYSTEMDRIVE% > strProgramFiles = objShell.ExpandEnvironmentStrings("%PROGRAMFILES%") > strSystemDrive = objShell.ExpandEnvironmentStrings("%SYSTEMDRIVER%") This is a typo in the installer. It was recognised and fixed a few weeks ago; I expect the public installers will have the fix in the next patch release. You can work around it in the mean time by editing your system environment settings to add a SYSTEMDRIVER environment variable. http://support.microsoft.com/kb/310519 -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services --------------010201020509080600040202 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 11/15/2012 02:11 AM, limkimhuot wrote:
Dear all,

Today is my fourth day I have been trying to install PostgreSQL
(postgresql-9.2.1-1-windows-x64) in my window 7 x64, yet it fails all the
time.

I don't know much about VB script or I am very new in VB.

Is it correct if I place code of the new environment variable like this:

SYSTEMDRIVER = %SYSTEMDRIVE%
strProgramFiles = objShell.ExpandEnvironmentStrings("%PROGRAMFILES%")
strSystemDrive = objShell.ExpandEnvironmentStrings("%SYSTEMDRIVER%")
This is a typo in the installer. It was recognised and fixed a few weeks ago; I expect the public installers will have the fix in the next patch release.

You can work around it in the mean time by editing your system environment settings to add a SYSTEMDRIVER environment variable.

http://support.microsoft.com/kb/310519

-- 
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
--------------010201020509080600040202--