If you call the postgresql executable passing as parameter --help will open the information:
You must enter the password, the installation path, this you can set through the parameters.
So you can call it that:
msiexec /i postgresql[versão].msi /qr INTERNALLAUNCH=1 ADDLOCAL=server,psql,docs SERVICEDOMAIN="%COMPUTERNAME%"
SERVICEPASSWORD="SecretWindowsPassword123" SUPERPASSWORD="VerySecret" BASEDIR="c:\postgres" TRANSFORMS=:lang_de
NOTE: I never used the Advanced Installer, but I’ve used the NSIS Compiler, and currently use the Inno Setup Compiler, I know you can do this without problems..
Reference: link
I hope I’ve helped!
How is your system installed? How you created this installer, which tool you used, etc.?
– Jéf Bueno
I have the binary files from my system, I have the postgresql installer on version 9.5, first I tried using the program Advanced Installer available at http://www.advancedinstaller.com/ . In it I was able to add prerequisites to the installation of my software, then I asked him to install Postgre before installing the system, otherwise the installation could not continue, until well, the problem of installing the system bank was solved, however it is still the challenge to create the database, and make the whole installation of the postgre exe be in hidden mode
– lima_t