kradem
kradem

Reputation: 73

PostgreSQL win32/64 windowless installation without PgAdmin3?

A win32/64 installer for our software use

{'--unattendedmodeui':'minimal',
'--mode':'unattended'}

parameters in subprocess for an official PostgreSQL installer:

http://www.enterprisedb.com/products-services-training/pgdownload#windows

http://get.enterprisedb.com/postgresql/postgresql-9.1.2-1-windows.exe

Is it possible to disable PgAdmin3 installation with a parameter or using any other win32/64 prebuilt PostgreSQL binaries?

Upvotes: 4

Views: 2697

Answers (1)

user330315
user330315

Reputation:

or using any other win32/64 prebuilt PostgreSQL binaries

You can download the ZIP archives and then embed these steps into your installer:

  1. unzip the archive
  2. create the windows service user acount (if wanted/needed - not needed since 9.2 any more)
  3. run initdb with the approriate parameters
  4. run pg_ctl register to create a Windows service

Before integrating the ZIP archive you can remove all unwanted components from it (e.g. pgAdmin, debug symbols).

Upvotes: 3

Related Questions