Re: 2 questions: Installation And DB runtime creation
От | John DeSoi |
---|---|
Тема | Re: 2 questions: Installation And DB runtime creation |
Дата | |
Msg-id | B49DB03A-AA8F-11D9-AD58-000A95B03262@pgedit.com обсуждение исходный текст |
Ответ на | 2 questions: Installation And DB runtime creation (CiaMba <cia.mba@tiscali.it>) |
Список | 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 по дате отправления: