marcelo
Posts: 103
Joined: Fri Sep 28, 2007 2:07 pm

How to launch a website when the applicaiton is installed?

Hi

I have a custom action that launches a website (localhost) (Async no return).
I want to run this custom action instead of the AI_LaunchApp (or use AI_LaunchApp to do that) how can I acomplish that?
I cannot remove AI_LaunchApp (or change its launch conditions).

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

Hi,

What you need cannot be done by using the "AI_LaunchApp" custom action because this is a built-in custom action and it cannot be configured.

However, you can create a "Launch File or Open URL" custom action in the "Custom Actions" page under the "UI Custom Actions" sequence. You can read more about custom actions here:
http://www.advancedinstaller.com/user-g ... -page.html

Since the checkboxes on the "ExitDialog" dialog cannot be removed, you need to create a new one (which will launch the Website). Also, make sure that the options in the "Finish Actions" tab are not checked (the standard checkboxes will not be shown).

Note that you need to add the custom action as a DoAction Published Event (in the "Published Events" tab) and condition it using the property of the checkbox.
http://www.advancedinstaller.com/user-g ... ditor.html

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

Return to “Common Problems”