Re: BUG #6193: The one-click installer failed to unpack - Mailing list pgsql-bugs

From Robert Haas
Subject Re: BUG #6193: The one-click installer failed to unpack
Date
Msg-id CA+TgmoYrKkgwCvKEijzBZ7KXLd78Cc49Wg_dMHfFP3gJ9wyXGw@mail.gmail.com
Whole thread Raw
In response to BUG #6193: The one-click installer failed to unpack  ("farta" <fayfarta@gmail.com>)
Responses Re: BUG #6193: The one-click installer failed to unpack
List pgsql-bugs
On Thu, Sep 1, 2011 at 11:57 AM, farta <fayfarta@gmail.com> wrote:
> The following bug has been logged online:
>
> Bug reference: =A0 =A0 =A06193
> Logged by: =A0 =A0 =A0 =A0 =A0farta
> Email address: =A0 =A0 =A0fayfarta@gmail.com
> PostgreSQL version: 9.0.4
> Operating system: =A0 Windows 7 64 bit
> Description: =A0 =A0 =A0 =A0The one-click installer failed to unpack
> Details:
>
> postgresql-9.0.4-1-windows_x64.exe failed to unpack. I downloaded it for
> several times from different location, so it should not be a corrupted
> download. When executed, after the postgresql icon displayed at first
> disappared, an error message box showed up, said: (In Chinese, my system =
is
> chinese version) "File name, directory name or volume name is invalid."
>
> I'm wondering if it is because my username on my system is in Chinese so =
it
> contains non-ascii charactors, and the when the installer begain to unpack
> files, it tried to get temperary directory name, and since the path conta=
ins
> non-ascii charactor it might not support, it failed and told "File name,
> directory name or volume name is invalid."

According to the EnterpriseDB installer team, your explanation is
correct.  Apparently the installation directory path and PGDATA path
locations have to patch the following regex:

^([a-zA-Z]:)\\([0-9a-zA-Z_\\\s\.\-\(\)]*)$

Sorry for the inconvenience.  :-(

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-bugs by date:

Previous
From: Robert Haas
Date:
Subject: Re: Dropped index on table preventing rule creation
Next
From: pasman pasmański
Date:
Subject: Re: BUG #6204: Using plperl functions generate crash