Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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";
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900