Thread: BUG #5919: released zipped files have problem

BUG #5919: released zipped files have problem

From
"Jacob Lee"
Date:
The following bug has been logged online:

Bug reference:      5919
Logged by:          Jacob Lee
Email address:      jacobswell4u@yahoo.com
PostgreSQL version: 9.0.3
Operating system:   windows XP
Description:        released zipped files have problem
Details:

the oneclick installer version has no problem but the zip file has problem.
you can find the problem by doing:

1. download the zip file and unzip.

2. try to initdb

the system will give the message "the application has problem and try to
reinstall it".

I've tested serval times. I solved the problem doing this: install pgsql by
onclick installer and copy all files to where I want.

Re: BUG #5919: released zipped files have problem

From
Dave Page
Date:
On Tue, Mar 8, 2011 at 1:32 AM, Jacob Lee <jacobswell4u@yahoo.com> wrote:
>
> The following bug has been logged online:
>
> Bug reference: =A0 =A0 =A05919
> Logged by: =A0 =A0 =A0 =A0 =A0Jacob Lee
> Email address: =A0 =A0 =A0jacobswell4u@yahoo.com
> PostgreSQL version: 9.0.3
> Operating system: =A0 windows XP
> Description: =A0 =A0 =A0 =A0released zipped files have problem
> Details:
>
> the oneclick installer version has no problem but the zip file has proble=
m.
> you can find the problem by doing:
>
> 1. download the zip file and unzip.
>
> 2. try to initdb
>
> the system will give the message "the application has problem and try to
> reinstall it".
>
> I've tested serval times. I solved the problem doing this: install pgsql =
by
> onclick installer and copy all files to where I want.

You installed the MSVC++ runtimes first? They're not included in the
zip file if memory serves.


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

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

Re: BUG #5919: released zipped files have problem

From
Dave Page
Date:
[Please keep the list CC'd]

On Mon, Mar 14, 2011 at 8:01 AM, jacob lee <jacobswell4u@yahoo.com> wrote:

> I don't think it is the msvc++ problem. At first the pgsql was installed
> successfully with initdb with zip file and I tried to start the pg and I got
> the message.
>
> I thought the problem is in my pc so I format it and tried to install with
> unzipped files. still the message was the same.
>
> And I made a success in windows 7 pc. it has no problem. only the windows
> xp system. and I tested with 2 pcs.
>
> The last try was using one-click installer. I installed pgsql with it and
> copy all the files and directorys except data and removed the pgsql.
>
> and I tried to install another pc with copied program and there was no
> problem!
>
> I think the message was that the program was malfunctioned like when the
> zip file has broken area in it.
>
>
The fact that the same file worked on a number of other PCs tells us it's
not corrupted. Also, the zip archive contains *exactly* the same files as
the installer - they're archives as part of the same build process.

The error message you quoted is one that almost always means that the
runtimes are not correctly installed (or the version of them is incorrect).
I don't know precisely what you did, but I'm sure that somewhere along the
line the runtimes were installed properly.

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

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