Thread: Deploying Postgresql Along My Windows App
I am developing a wxPython app which can run, like Postgresql, on Linux and Windows boxes.
Linux users are far more specialized than Windows one - and Postgres comes along with major distros.
Windows users don't want (or are unable to) install Postgresql by themselves, so I was wondering if there is a way to deploy (or embed) it along my app.
I would like to decompress a non-installer bin version, setup the initial catalog and run the server without users intervention.
Can anyone help me?
Thanks,
Valter
Hello Valter, I am doing something similar with the Windows installer for the PostBooks project. Basically, what I do is this: 1. Use the Postgres windows installer to install 8.2.7 2. Import all the application's databases. 3. Using the NSIS Installer Generation app: 1. Include all files under c:\program files\postgresql... in my project; 2. Use NSIS utilities to install the PostgreSQL service in a custom manner. I do this on a non-standard port so that if the user already has PG, it does not clobber the existing install. I don't have a lot of time at the moment, but later today I can go into details if you like. In the meantime, check out: http://nsis.sourceforge.net/Main_Page http://hmne.sourceforge.net/ http://www.xtuple.org Cheers, -J On Mon, 14 Apr 2008, Valter Nogueira wrote: > Date: Mon, 14 Apr 2008 23:38:02 -0300 > From: Valter Nogueira <vgnogueira@gmail.com> > To: pgsql-admin@postgresql.org > Subject: [ADMIN] Deploying Postgresql Along My Windows App > > I am developing a wxPython app which can run, like Postgresql, on Linux > and Windows boxes. > > Linux users are far more specialized than Windows one - and Postgres > comes along with major distros. > > Windows users don't want (or are unable to) install Postgresql by > themselves, so I was wondering if there is a way to deploy (or embed) it > along my app. > > I would like to decompress a non-installer bin version, setup the initial > catalog and run the server without users intervention. > > Can anyone help me? > > Thanks, > > Valter > > > > -- ----- http://www.globalherald.net/jb01 GlobalHerald.NET, the Smarter Social Network! (tm)