jafa
Posts: 51
Joined: Fri Feb 23, 2007 7:13 pm

Invoking AI from a build script - detecting complete?

Wed Dec 05, 2007 8:02 am

Hi,

I am invoking AI from a build script to update version numbers and to generate the install files.

Once AI has finished I need the build script to run commands to build ISOs etc.

The issue - AI does not block the execution of the script.

How can I detect if AI is finished?
(or alternatively, how can I get AI to block the CLI until it has finished?)

Nick

Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact:  Website

Wed Dec 05, 2007 9:23 am

Hi,

Please note that this is controlled by the script, therefore you need to modify your script to wait until Advanced Installer is finished.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

jafa
Posts: 51
Joined: Fri Feb 23, 2007 7:13 pm

Wed Dec 05, 2007 9:55 am

Hi,

How does the script know/detect that AI has finished?

Most applications block until completion - the script just executes them one at a time.

AI does not block - it returns control to the script and then compiles in the background for the next minute.

This creates a problem - how to detect that AI has finished?

Nick

Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact:  Website

Wed Dec 05, 2007 2:06 pm

Hi,

Can you please give more details about how you are using Advanced Installer in your script?

Please note that you should use AdvancedInstaller.com for calling Advanced Installer (this file is in the installation folder of Advanced Installer, usually "C:\Program Files\Caphyon\Advanced Installer 6.0.1").

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

jafa
Posts: 51
Joined: Fri Feb 23, 2007 7:13 pm

Thu Dec 06, 2007 8:10 am

That was the problem - I was using the AdvancedInstaller.exe - thanks!

Return to “Common Problems”