We have a number of installers which basically installs a service with a corresponding database.
For the database installation we use SqlPackage.exe which takes a dacpac file and a number of parameters.
The way we have done this so far is that we launch a file InstallDB.cmd with the relevant parameters from the installer.
The problem is that this process sometimes takes a while and the installer is not waiting on this process.
If I add a "pause" in the end of the cmd file - the installer just continues .
So how do we do this in general - having some kind of external process where we need to wait for the finish?
I have attached the picture of our custom action which is calling the InstallDB.cmd - we DO NOT understand the checkmark "Wait for custom action to finish before proceding". What is the function of this if not waiting
Best Regards
FOLLOW US
Get the latest news in Application Packaging