jfaiga
Posts: 25
Joined: Wed Sep 13, 2006 8:21 am

Advanced Installer from the Command Line returns too early

When calling "AdvancedInstaller.exe" from the command line, whether I use /execute or /build, then the command line returns soon after calling the exe. Thereafter the msi is updated in another process.
I want to use NAnt to automate the building of the msi, and the deploying of it, however I cannot deploy it until it has finished being built!
Is there any better option other than inserting a sleep?
Mihai
Posts: 38
Joined: Wed Mar 23, 2005 12:19 pm

Hi,

"AdvancedInstaller.exe" is a GUI application not a console one. That is why the console is detached from the process.

From the command line you must launch "AdvancedInstaller.com".

Regards,

Mihai
Mihai Udrea
Advenced Installer Team
jfaiga
Posts: 25
Joined: Wed Sep 13, 2006 8:21 am

Thanks Mihai,
That solved the problem.

Return to “Common Problems”