EDB PostgreSQL

Silent Install

The silent install for EnterpriseDB Corporation PostgreSQL has many options, which you can explore in the EDB Product Documentation.

By default, we provide the following silent install options, which are valid for PostgreSQL 9.x and up:

--mode unattended 
--unattendedmodeui none 
--install_runtimes 0

PostgreSQL Deployment on macOS

To deploy PostgreSQL on macOS, complete these additional steps: 

1. Launch the pgAdmin shortcut from Application Workspace. This will copy the installation files to the Application directory.

NOTE: It will throw an installation error at the end because the shortcut is not yet configured.

2. From the Applications folder, launch the postgresql-xx.x-x-osx installation files. When the PostgreSQL Setup Wizard opens, follow its instructions.

The Application Workspace shortcut will now launch PostgreSQL on macOS.

installbuilder.sh workaround

Since Application Workspace currently has no support for the installbuilder.sh script, you'll need to use the following workaround:

1. In your MacOS folder, run sudo sh installbuilder.sh --mode unattended.

2. Under PostgreSQL, open pgAdmin 4.

3. In Application Workspace, edit the PostgreSQL command line parameters action.

4. On the General tab in the Edit action window, enter or select the following options for the PostgreSQL command line parameters script:

  • Script engine: Bash
  • Script: ${ProgramFiles}\postgresql-xx.x-x-osx.app\Contents\MacOS\installbuilder.sh
  • Arguments: --mode unattended --unattendedmodeui none

5. On the Advanced tab in the Edit action window, select the following options: 

  • Context: Device
  • Network credentials: This example uses 'Setup Store Testing Macs'
  • Display: Hidden
  • Engine arguments: Arguments
  • Success return codes: 0