Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U2pLa-0004i4-4v for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Feb 2013 20:42:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U2pLY-0003RE-LO for pgsql-bugs@arkaria.postgresql.org; Tue, 05 Feb 2013 20:42:28 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U2pLM-0003GO-C0 for pgsql-bugs@postgresql.org; Tue, 05 Feb 2013 20:42:16 +0000 Received: from archicoop-3.sirius.pisa.it ([195.250.10.49] helo=mailserver.archicoop.it) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U2pLI-0001hZ-6u for pgsql-bugs@postgresql.org; Tue, 05 Feb 2013 20:42:15 +0000 Received: from [192.168.1.1] (host130-129-dynamic.2-79-r.retail.telecomitalia.it [79.2.129.130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailserver.archicoop.it (Postfix) with ESMTPSA id 4CE0141EC81; Tue, 5 Feb 2013 21:42:08 +0100 (CET) Message-ID: <51116E9F.3030904@archicoop.it> Date: Tue, 05 Feb 2013 21:42:07 +0100 From: Ivano Luberti User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Dave Page CC: Pg Bugs Subject: Re: BUG #7851: Installer crash with message: An error occured executing the Microsoft VC++ runtimeinstaller References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Thanks Dave for your quick answer Il 05/02/2013 16:19, Dave Page ha scritto: > If this is a new installation, you should really use 9.2. 8.4 will go > out of support in about a year. It is a new installation on my machine, but I use for development and I have to support customers that will still use 8.4 for a while. > You're suffering from the problem described here: > http://wiki.postgresql.org/wiki/Running_%26_Installing_PostgreSQL_On_Native_Windows#The_installer_exits_with_a_runtime_installation_error.3F. yes I read that > The error comes usually because either the script interpretor isn't > registered or the TEMP dir is unwriteable (both of which you said > you've checked), or sometimes because the .vbs file extension is > registered incorrectly. You can check how the filetype is registered > like this: > > C:\>assoc .vbs > .vbs=VBSFile > > C:\>ftype VBSFile > VBSFile=%SystemRoot%\System32\WScript.exe "%1" %* > > (it should look like that) It look exactly like that and I run the installer as an administrator. I don't want to mix two different issues here but I also tried to install 9.2.2-1 and I get a "Unable to write inside TEMP environment variable path" error message And in the TEMP dir I find a bitrock_installer file with the following content Log started 02/05/2013 at 21:37:45 Preferred installation mode : qt Trying to init installer in mode qt Mode qt successfully initialized Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Data Directory. Setting variable iDataDirectory to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Base Directory. Setting variable iBaseDirectory to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Service ID. Setting variable iServiceName to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Service Account. Setting variable iServiceAccount to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Super User. Setting variable iSuperuser to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Branding. Setting variable iBranding to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Version. Setting variable brandingVer to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 Shortcuts. Setting variable iShortcut to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.2 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value [21:37:51] Existing base directory: [21:37:51] Existing data directory: [21:37:51] Using branding: PostgreSQL 9.2 [21:37:51] Using Super User: postgres and Service Account: NT AUTHORITY\NetworkService [21:37:51] Using Service Name: postgresql-x64-9.2 > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > -- ================================================== dott. Ivano Mario Luberti Archimede Informatica societa' cooperativa a r. l. Sede Operativa Via Gereschi 36 - 56126- Pisa tel.: +39-050- 580959 tel/fax: +39-050-9711344 web: www.archicoop.it ================================================== -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs