Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 67145B5DC32 for ; Thu, 15 Sep 2011 09:46:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 56238-03 for ; Thu, 15 Sep 2011 12:46:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-gw0-f50.google.com (mail-gw0-f50.google.com [74.125.83.50]) by mail.postgresql.org (Postfix) with ESMTP id 844E3B5D91F for ; Thu, 15 Sep 2011 09:46:42 -0300 (ADT) Received: by gwj16 with SMTP id 16so2821864gwj.23 for ; Thu, 15 Sep 2011 05:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Ztz0vFAp4YxFWmMOXx9eMYOVQ7O7nFSwXOH9EB+k+uY=; b=aUoSekrURVhYh4UUGKKXShKzngJvZ0As+ohzyjgwo0YcNiiuvfTsNXGzyLNdztiFzc Flt8v6QpobZV/Wl8EIGWO9B95empVhFXBGHeGljxPULC7qeZq//eVpRQVsxaO68wukK6 y5UvRJXlbYFgRlTt1fMMlahW1inOsFWMSjbzA= Received: by 10.68.28.199 with SMTP id d7mr528050pbh.142.1316090802394; Thu, 15 Sep 2011 05:46:42 -0700 (PDT) Received: from [192.168.1.103] ([222.35.128.98]) by mx.google.com with ESMTPS id 4sm22738781pbk.5.2011.09.15.05.46.38 (version=SSLv3 cipher=OTHER); Thu, 15 Sep 2011 05:46:40 -0700 (PDT) Message-ID: <4E71F3A6.4050208@gmail.com> Date: Thu, 15 Sep 2011 20:46:30 +0800 From: =?UTF-8?B?54+Q5aGU?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Robert Haas CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6193: The one-click installer failed to unpack References: <201109011657.p81GvXvZ027500@wwwmaster.postgresql.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201109/93 X-Sequence-Number: 31110 于 2011/9/15 19:26, Robert Haas 写道: > On Thu, Sep 1, 2011 at 11:57 AM, farta wrote: >> The following bug has been logged online: >> >> Bug reference: 6193 >> Logged by: farta >> Email address: fayfarta@gmail.com >> PostgreSQL version: 9.0.4 >> Operating system: Windows 7 64 bit >> Description: The 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 contains >> 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. :-( > Thanks a lot. I have found a workaroud: Changing the TEMP/TMP enviroment variable to a path contains only ascii charactors and the installer succeeded and now I'm enjoying PostgreSQL.:-)