pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: Skusa, Andre <andre.skusa@wincor-nixdorf.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: silent installer
Date: Wed, 23 Nov 2011 08:23:28 +0800
Message-ID: <4ECC3D00.2070507@ringerc.id.au> (raw)
In-Reply-To: <0503A7EB54C6904E91EE7C74BAD41B942C0F712BAA@DEEXVS61.wincor-nixdorf.com>
References: <0503A7EB54C6904E91EE7C74BAD41B942C0F712BAA@DEEXVS61.wincor-nixdorf.com>

On 11/23/2011 01:06 AM, Skusa, Andre wrote:
>
> Hello postgres admins,
>
> is there any silent installer for current postgres releases (>= 9.x) 
> available? Or what should I consider if I plan to include postgres in 
> the installer of my own software package?
>
>
The installer has command line options for non-interactive / silent 
installation. Try using the --help, -h or /? flags (don't remember 
which) on the installer.

Consider *asking* the user if they want Pg installed or if they'd like 
to provide their own database settings instead. If you do silent 
install, please consider what'll happen if the user already has the same 
version of PostgreSQL installed. You'll still need to provide them with 
a way to tell your application which database settings to use, since 
your installer won't overwrite an already-installed version of Pg.

Alternately, you can use the PostgreSQL .zip package, creating a user 
account and service account yourself. That has the advantage of letting 
you create your own package that's independent of any regular PostgreSQL 
installation so you can set your own user account, service account, 
password, etc. The downside is that it's a lot more work to get right.

--
Craig Ringer

view thread (2+ messages)

Message-ID: <4ECC3D00.2070507@ringerc.id.au>
Permalink:  ../4ECC3D00.2070507@ringerc.id.au/
Also on:    postgresql.org/message-id/4ECC3D00.2070507@ringerc.id.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ringerc@ringerc.id.au, andre.skusa@wincor-nixdorf.com
  Subject: Re: silent installer
  In-Reply-To: <4ECC3D00.2070507@ringerc.id.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox