Click here to Skip to main content
14,338,494 members
Rate this:
Please Sign up or sign in to vote.
See more:
hello, how to make instalation postgresql binaries with inno setup

What I have tried:

hello, how to make instalation postgresql binaries with inno setup
Posted
Updated 30-Nov-18 22:32pm
Comments
Afzaal Ahmad Zeeshan 1-Dec-18 0:35am
   
Did you try searching for an answer?

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

It depends on which installer you are using, I would not recommend the BigSQL installer as it does not follow the usual data directory naming conventions.

In the [Files] section include the PostgreSQL exe as {tmp}\postgresql.

In the [RUN] section for a normal install:
Filename: "{tmp}\postgresql-9.3.1-1-windows-x64.exe"; Parameters: "--unattendedmodeui minimal --mode unattended --superpassword ""postgres"" --serverport 5432";

BigSQL install:
Filename: "{tmp}\PostgreSQL-9.6.0-1b-win64-bigsql.exe"; Parameters: " --mode unattended --unattendedmodeui minimal --installer-language en --prefix ""C:\PostgreSQL"" --pgdatadir ""C:\PostgreSQL\data\pg96"" --password mypass";
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100