Hi Team,
In the Prerequisites, I have set up the installation of the Postgres database, and I wish to dynamically create the database password during installation. To achieve this, I defined a DB_PASSWORD property and a custom action named NewDbPassword.
During the Wizard Dialogs Stage, I first invoked the NewDbPassword custom action to assign a dynamic password to the DB_PASSWORD property. However, the outcome did not meet my expectations; upon completion of the installation, the database password remained as the initial value of the DB_PASSWORD property. I have confirmed from the installation logs that the NewDbPassword custom action was indeed executed, and the DB_PASSWORD property was modified. I suspect that the issue lies in the timing of the NewDbPassword custom action execution, which might be taking place after the Postgres installation.
How can I configure the NewDbPassword custom action to execute prior to the Postgres installation? Any guidance would be appreciated.
Thanks,
Andrew