您好,如何使用inno setup进行instalation postgresql二进制文件 [英] Hello, how to make instalation postgresql binaries with inno setup

查看:137
本文介绍了您好,如何使用inno setup进行instalation postgresql二进制文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,如何使用inno设置安装postgresql二进制文件



我尝试了什么:



你好,如何用inno setup安装postgresql二进制文件

解决方案

这取决于你使用的安装程序,我不推荐BigSQL安装程序,因为它不遵循通常的数据目录命名约定。



[Files] 部分包含PostgreSQL exe作为{tmp } \postgresql。



在正常安装的 [RUN] 部分:

文件名:{tmp} \postgresql-9.3.1-1-windows-x64.exe;参数: -  unattendedmodeui minimal --mode unattended --superpasswordpostgres--serverport 5432; 



BigSQL安装:

文件名:{tmp} \ PostgreSQL-9.6.0-1b-win64-bigsql.exe;参数: -  mode unattended --unattendedmodeui minimal --installer-language en --prefixC:\ PostgreSQL -  pddadadirC:\ PostgreSQL \ data \\\\\\\\\\将mypass; 


hello, how to make instalation postgresql binaries with inno setup

What I have tried:

hello, how to make instalation postgresql binaries with inno setup

解决方案

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";


这篇关于您好,如何使用inno setup进行instalation postgresql二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆