Обсуждение: silent installer

Поиск
Список
Период
Сортировка

silent installer

От
"Skusa, Andre"
Дата:

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?

 

Thanks in advance,

 

Andre

 

Dr. Andre Skusa


WINCOR NIXDORF International GmbH
Retail Division

RSS - Retail Store Solutions

Mail: Heinz-Nixdorf-Ring 1, 33106 Paderborn, Germany
Phone: +49-5251-693-4701

E-Mail: andre.skusa@wincor-nixdorf.com

Web: www.wincor-nixdorf.com

_____________________________________________________

WINCOR NIXDORF International GmbH

Sitz der Gesellschaft: Paderborn

Registergericht Paderborn HRB 3507

Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram

Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller

Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

 

WINCOR NIXDORF International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschäftsführer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jürgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthält vertrauliche Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information.
If you are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Re: silent installer

От
Craig Ringer
Дата:
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