Re: 2 questions: Installation And DB runtime creation - Mailing list pgsql-novice

From John DeSoi
Subject Re: 2 questions: Installation And DB runtime creation
Date
Msg-id B49DB03A-AA8F-11D9-AD58-000A95B03262@pgedit.com
Whole thread Raw
In response to 2 questions: Installation And DB runtime creation  (CiaMba <cia.mba@tiscali.it>)
List pgsql-novice
On Apr 9, 2005, at 7:32 AM, CiaMba wrote:

> Hi,
> i have the questions as in object:
>
> How can i install Postgres in a novice user's PC, without manual
> inserting
> by user of parameters requested during the tipical installation?
>
> After this, how can i create my DB silent-runtime in that PC?
> ...createdb, yes, but without to ask any password.
>
> I tried this:
> c:\programmi\PostgreSQL\8.0\bin\createdb -U postgres -E UNICODE Example
>
> but it opens always a shell with password promt.

All of the source code for the installer is available -- you could
build a customized version that leaves out the option screens. I also
think you can run any installer from the command line with a 'silent'
option that uses only the defaults. Perhaps you can use the existing
installer this way (see msiexec). The installer creates a database, so
you can look at the source and see how it is done.

http://pgfoundry.org/projects/pginstaller



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-novice by date:

Previous
From: Ennio-Sr
Date:
Subject: Re: how to ignore accents?
Next
From: brew@theMode.com
Date:
Subject: Re: windows tutorial