Re: pgAdmin3 1.12.2 won't start on WinXP

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Bexley Hall <bexley401(at)yahoo(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: pgAdmin3 1.12.2 won't start on WinXP
Date: 2011-01-31 20:12:10
Message-ID: AANLkTinNhTAvUFrBxkFtPW-G8DgDQdLx9rzRCgZJrWJz@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Mon, Jan 31, 2011 at 8:03 PM, Bexley Hall <bexley401(at)yahoo(dot)com> wrote:
> Hi Dave,
>
> --- On Mon, 1/31/11, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>> Bexley Hall <bexley401(at)yahoo(dot)com> wrote:
>>
>> > Invoking the 1.12.2 version resulted in a dialog complaining
>> > "This application has failed to start because the application
>> > configuration is incorrect..."
>>
>> It sounds like you don't have the correct version of the MSVC++
>> runtimes installed - which is odd, as they're included in the pgAdmin
>> installer. Try reinstalling them:
>>
>> http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf
>
> I searched the "post pgAdmin3" machine image for "mfc90.dll"
> and didn't find it anywhere.  Presumably, 1.10.5 did *not*
> require this runtime?

No. It used the VC++ 2005 runtime.

> Installing the above URL resulted in a copy of mfc90.dll
> turning up under Windows\WinSxS...
>
> And, not surprisingly, pgAdmin3 1.12.2 now starts correctly.
>
> Are you *sure* the pgAdmin installer is configured to install it?
> (I don't have the tools with me to examine the .msi itself)

Positive. See http://git.postgresql.org/gitweb?p=pgadmin3.git;a=blob;f=pkg/win32/src/pgadmin3.wxs;h=d836c41f8a9f2cd4c8233347250b1dd6fd60574d;hb=6861d498b619b39d0a083da115b8beaf1b771b89,
specifically the lines:

<Merge Id="CRT" Language="0" SourceFile="$(env.ProgramFiles)\Common
Files\Merge Modules\Microsoft_vc90_crt_x86.msm" DiskId="1" />

and

<MergeRef Id="CRT" />

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Bexley Hall 2011-01-31 23:01:57 Re: pgAdmin3 1.12.2 won't start on WinXP
Previous Message Bexley Hall 2011-01-31 20:03:14 Re: pgAdmin3 1.12.2 won't start on WinXP