fmh1959
Posts: 8
Joined: Mon Aug 10, 2015 8:52 am

Launch file (and wait for finish)

Hi

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
Attachments
launch.png
launch.png (83.99 KiB) Viewed 3708 times
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Launch file (and wait for finish)

Hello,

First of all, I apologize for the delayed reply, but we were quite busy lately.

In what regards your problem, I am not sure why this happens. Could you please send me a copy of the AIP file by e-mail at support at advancedinstaller dot com so I can further investigate this?

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
digocesar
Posts: 38
Joined: Thu Dec 03, 2015 12:26 pm

Re: Launch file (and wait for finish)

Hi.
A similar issue that I had was solved at release 15.5.
https://www.advancedinstaller.com/relea ... hancements
Please see if this release solves your problem.
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Launch file (and wait for finish)

Thank you for contributing to our forum, Rodrigo. It is highly appreciated.

And yes, I suspect this is the case for him as well.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”