We're following these steps to install a postgre server:
1- Prerequisite -> postgre odbc
2- Custom Action -> Run initdb
3- Install and start service (pg_ctl.exe)
4- Launch SQL script in order to initialize database and tables
The problem is that, again, the order of execution in Windows Installer doesn't seem to help us.
And SQL scripts seem to be launched BEFORE Services initializization and starting.
So they fail.
Is there a way to change this?
We know we could make another custom action to manually perform one of those tasks at the proper moment.
But we would like to rely on advanced installer UI and Windows installer for those things ( Services..., SQL scripts...)
FOLLOW US
Get the latest news in Application Packaging