简体   繁体   中英

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?

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 (eg pgAdmin, debug symbols).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM