Re: Installing PostGreSQL automatically

From: "Greg" <greg(at)officium(dot)co(dot)za>
To: "'Harald Armin Massa'" <haraldarminmassa(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Installing PostGreSQL automatically
Date: 2006-06-05 12:22:56
Message-ID: 000001c6889a$c6dde5d0$5499b170$@co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Harald,

I have tried to install the database silently, according to that document
you gave me http://pginstaller.projects.postgresql.org/silent.html but the
documentation seems to be out of date...

As the document specifies...

Normal none Normal interactive user installation
Reduced /qr No user interaction. "Full size" progress window including
progress descriptions.
Basic /qb No user interaction. Just a basic progressbar and not full
descriptions.
Silent /qn No user information at all.

Yet, these switches don't do what they say.

/qr - still requires user interaction
/qb - shows no progress bar, in fact it shows nothing. My hard drive light
flashes, but when finished, nothing is installed and the BASEDIR is still
empty!

Please help.

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Harald Armin Massa
Sent: 23 May 2006 08:43 AM
To: Greg
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Installing PostGreSQL automatically

Greg,

all the registry-entries are for "convenience", that is: to make it possible
for the installer to check if PostgreSQL is installed.

So to use PostgreSQL on Win32, simple distribute the files found within
<programs>PostgreSQL/8.1/ from a normal installation. ["normal"
is quite a challenge nontheless, as "normally" client & server libs are
distributed; together with PG-Admin in default installation]

Your challenge in not using the installer remains:

a) arranging the path correctly so that all libs are found

b) creating a user with appropriate privilges [in corporate environments
that is often better done by whatever user administration tool they use]

c) creating the service [check pg_ctl --help]

d) initialising the datadir (initdb --help)

I tried to went down that road because of problems with earlier
pg-installers (8.0.0 beta and before); and it was harder than it sounds, so
I moved back to the installer. I recommend to you to do the same - or report
back your sucess.

On http://pgfoundry.org/projects/pginstaller/ you can find the source to the
installer; to recheck what exactly that MSI is doing; maybe Installshield is
even able to "include" the MSI definitions from there (they are made for the
"free" tools from MS to build installers)

Best wishes

Harald

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607
-
PostgreSQL - supported by a community that does not put you on hold

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2006-06-05 12:25:44 Re: Installing PostGreSQL automatically
Previous Message Berend Tober 2006-06-05 12:20:23 Re: What is the point of create or replace view command