Hello,
I´m trying to create an MSI installer to install an application which needs an additional Postgres database.
I already created a NSIS installer package. Because with NSIS it is only possible to create Setup.exe files, I want to transfer this in an Setup.msi file.
The difficulty is, that the existing NSIS installer uses the 'postgresql-10.11-1-windows.exe' setup file provided by postgresql.org this needs certain parameters to run silently inside the NSIS installation. Target is, that the whole MSI installer can be executed completely silent and has all parameters to install postgres database on board.
The attempts I already made were:
- Using 'postgresql-10.11-1-windows.exe' as prerequisite
=> no silent installation possible
- Using 'postgresql-10.11-1-windows.exe' in a custom action of type 'Execute inline script code' to run a Visual basic script calling postgres setup with wshShell.Exec with the necessary installation parameters.
=> Postgres database is not properly installed
- Using the 'MSI from EXE(s)' assistant provided by AdvancedInstaller
=> First attempt: Resulting MSI file hangs in step 'Installing prerequisite software'
=> Second attempt: Resulting MSI fileshows dialog with "Gathering required information..." and nothing more
Thanks in advance
Oliver
FOLLOW US
Get the latest news in Application Packaging