running PostGres without installing it

jesus martinez <[email protected]> Sun, 6 Aug 2006 01:08:13 -0300 (ART)
Newsgroups gmane.comp.db.postgresql.cygwin
Message-ID <[email protected]>
hello, how are you ?

i want to distribute a copy of PostGres to my clients.
they really dont know anything about installing
programs or
configurating remote RDBMS sql-servers,
so i dont want to give them the
"official-PostGres-installer.exe"
but my own installer.exe (win32) that:

1) install the PostGres's required files
2) modify the system as PostGres needs (registry,
paths, etc)
3) execute it as a process, not as a service (if it is
possible)
(it must run also on win98 machines)
4) enable the server in a port readed from an INI file
or
something like that.
5) delete the default super-user or change its
password
6) creates the tables-structure that my client-app
needs
7a) insert the data or
7b) copy db-files to hdd, assign them in PostGres and
make
them available via PostGres.
8) create the dbuser that will be used by clients-apps
9) assign that dbuser to my tables

all without any kind of user interaction.

- where can i get information about the required
information
(i mean: basic required files, registry changes, conf
files,
sql commands to do what i need) ?

- if this is not possible, may i call the default
PostGre's
installer in silent mode ? and if so, what are the
command-lines
to set the defaults settings ?

- can any of you help me in any of those tasks ?

thanks in advance,



=09
=09
	=09
__________________________________________________
Pregunt=E1. Respond=E9. Descubr=ED.
Todo lo que quer=EDas saber, y lo que ni imaginabas,
est=E1 en Yahoo! Respuestas (Beta).
=A1Probalo ya!=20
http://www.yahoo.com.ar/respuestas


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster