Phill_Perryman
Posts: 25
Joined: Thu Feb 15, 2007 5:55 pm

Always launch the application

I need to be able to always launch the installed application as I need a one of run with different run parameters to the normal shortcut. This forces the application to clear cached data in case the user is updating the install. I can't use this parameter for the normal shortcuts. There does not seem to be a way to stop the user unchecking the run application in the dialog. Is there another way to launch the installed application with parameters.
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Re: Always launch the application

Hi Phill,

If you are using an Enterprise project, you can set the "Enabled" attribute for the "Launch Your Application" checkbox to "False" (in the right Properties pane). This way, the user will be unable to clear the checkbox.

Of course, you can always use a Custom Action to launch your application (with specific parameters). See this page for more details.

Regards,
Ionut
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/
Phill_Perryman
Posts: 25
Joined: Thu Feb 15, 2007 5:55 pm

Re: Always launch the application

>> create the custom action under "UI Custom Actions" (instead of "InstallExecuteSequence" -> "InstallFinalize")

Just how do I do this, there is no "UI Custom Actions" in the custom actions section and it does not appear on any menu item (or right click menu). I used the wizard but it does not give me that option. If i create it in the comit section it runs before the finish happens.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Always launch the application

Hi,

Please note that UI Custom Action can be used only in an Enterprise project. If you have a Professional or For Java license, you can create the custom action under "InstallExecuteSequence" -> "InstallFinalize". This way, the custom action will run just before the installation progress bar reaches the end.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Phill_Perryman
Posts: 25
Joined: Thu Feb 15, 2007 5:55 pm

Re: Always launch the application

That explains that. Will get my version upgraded as I need the launch after the finish button has been pressed. I only have the Java version at the moment.

Return to “Common Problems”