Creating custom Win32 installer - Mailing list pgsql-hackers

From Victor B. Wagner
Subject Creating custom Win32 installer
Date
Msg-id 20060705112817.GA6668@cryptocom.ru
Whole thread Raw
Responses Re: Creating custom Win32 installer  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-hackers
I need to build custom win32 binary package for PostgreSQL.

I've downloaded source for PGinstaller but found them hard to
understand - WiX toolkit and MSI is totally alien territory for me.

Things I need to modify:

1. Exclude all unneccessary extensions such as PostGIS
2. Add some other extension 
3. Add some environment variables to server process (as needed by
modified version of OpenSSL)
4. Enable openssl by default and create certificate signing request
during installation.

By quick examination of pginstaller sources I haven't found how it does
register postgresql as service. When I compile postgres from sources and
start it using pg_ctl, it starts as console process, and closing of
command line window where it have been started, kill it.

I know about separate tools to run arbitrary program as service, such as
one in Cygwin suite, but it seems that PGinstaller doesn't include such
tool. 

Can anyone provide some hints how postgresql on Windows work and where
to dig to make custom installer?


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: update/insert, delete/insert efficiency WRT vacuum
Next
From: "Dave Page"
Date:
Subject: Re: Creating custom Win32 installer