We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

anup
Posts: 8
Joined: Thu Apr 01, 2010 10:20 pm

Launch Application launches app twice?

Using Advanced Installer Enterprise 7.3

In the Dialogs > Exit Dialog > Finish Actions have the option checked that says "Launch Application at the end of installation". The Application I chose File and selected one of the files I need to launch post install. The option "Checked by default" is also checked.

Now when I run the project, at the end it launches my EXE twice?

How to fix this? Am I doing this wrong? Is their a way to troubleshoot.

Thanks for the help.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Launch Application launches app twice?

Hello,

Not sure why you are encountering this behavior. Please send your .aip project file to support at advancedinstaller dot com so we can further analyze this.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
anup
Posts: 8
Joined: Thu Apr 01, 2010 10:20 pm

Re: Launch Application launches app twice?

Gabriel,

Have just sent it now. Pls check.

Thanks
Anup
anup
Posts: 8
Joined: Thu Apr 01, 2010 10:20 pm

Re: Launch Application launches app twice?

Did you get it ?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Launch Application launches app twice?

Hello,

I did receive your project. I've attempted to build it with my own files, making adjustments here and there to remove missing dependencies so I could build it.
The issue did not manifest itself.

Would it be possible for you to send a sample project that reproduces this behavior?

It would be best if you took your project and slowly started stripping it down to a minimum while still letting it manifest the issue.
Then send us the stripped .aip project again, along with files and all other resources necessary to build it on our machines.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
anup
Posts: 8
Joined: Thu Apr 01, 2010 10:20 pm

Re: Launch Application launches app twice?

Okie, will try.

Related question: Is their a way to launch an external Exe as part of the install process before the screen that has the "Finish" button. This is ideally what we want anyways.
anup
Posts: 8
Joined: Thu Apr 01, 2010 10:20 pm

Re: Launch Application launches app twice?

Sent to support at advancedinstaller dot com another test project which is a stripped down version. Also has the output where you will see the CALC.exe launched twice. I did get the calc.exe off a Windows XP box.

So seems like the AIP is somehow corrupt or a bug in your IDE.

Please let me know how to fix the original AIP project file. Thx!
phil.jones
Posts: 1
Joined: Tue Apr 20, 2010 9:07 pm

Re: Launch Application launches app twice?

Has there been any resolutions found to this? I too am having this problem. A project that has been working fine now launches our app twice. The only change I have made to the project between working and not is a change to the product version number. I have upgraded my Advanced Installer Version a few times but have not proven that to be the cause. The project is an enterprise project.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Launch Application launches app twice?

Hello Phil,

Make sure you back up your project before trying this:
In the Table Editor page, in the Control Events table, find the row with AI_LaunchApp in the Argument collumn.
There should be two rows with this. Sort by Argument to find them quickly.
Delete the row that has the shorter Condition, and leave the one that has the longer Condition.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”