Launch an application at the end of installation - Advanced Installer Community
prasadus92
Posts: 58
Joined: Wed Feb 25, 2015 8:10 am

Launch an application at the end of installation

Hi,

I need to start a different application at the end of installation. This will be depending on the registry entries. For example, launching Outlook application. End user will be in different versions like 2010, 2013 etc. So I need to check the registry entries and launch the respective file accordingly. How can I do this?

Thanks in advance.
Prasad
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Launch an application at the end of installation

Hello Prasad,

Here are the steps:
  • go to Search page and add the registry search you need
  • in the Custom Actions Page, add a Launch file custom action "without sequence"
  • go to Dialogs page and select ExitDialog
  • click on the [ Finish ] button of the ExitDialog dialog and add a new published event as described below:

Code: Select all

Execute custom action   myapp.exe   AI_INSTALL AND MY_REGISTRY_SEARCH
... where myapp.exe is the custom action and MY_REGISTRY_SEARCH is the name of the search.

Using this logic you can switch launching as many applications you need when the installing user presses the [ Finish ] button.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prasadus92
Posts: 58
Joined: Wed Feb 25, 2015 8:10 am

Re: Launch an application at the end of installation

Hi Mihai,

Many thanks for the detailed reply.

I have a professional license. So I am not able to edit the exit dialog and the controls in it.

Is there a way in a professional license?

Thanks in advance.
Prasad
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Launch an application at the end of installation

Hello Prasad,

I'm afraid our "Dialog Editor" feature is available only starting with the "Enterprise" edition of AI. So, to achieve what you need you should use at least an "Enterprise" project type.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”