Hello and welcome to our forums,
I'm afraid we don't have built-in support for your specific scenario. As a workaround, you can edit the application you created to launch the setup of the SQL Server and directly pass the password parameter by command line to the SQL Server setup.
For instance, you can add your custom application as a pre-install prerequisite (using the
"File from disk" option) and add the SQL setup as an additional file to the prerequisite.
At install time the setup will launch your prerequisite app with the configured command line and all what your app has to do is to get the passed command line, append the random generated password and launch the SQL setup with the full command line. After the SQL setup installation process finished you application should exit.
If you have any questions just let us know.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging