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!

jdharap
Posts: 1
Joined: Wed Oct 24, 2007 8:41 pm

Custom Action after finish.

Apologize for this simple question. I am a newbie to AI.

Is there any way I can set up a "Custom Action" to execute after the installation process has completely finished and right before the user exits the "Setup Wizard".

I want to launch a url after the user presses the Finish button on the
"Click the Finish button to exit the Setup Wizard" screen at the end.

I know how to launch urls. Right now I have set it up as a Custom Action in InstallExecuteSequence -> Commit.

Just curious if/how I can set it up to launch after the whole installation process is finished.

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

Hi,
I want to launch a url after the user presses the Finish button on the "Click the Finish button to exit the Setup Wizard" screen at the end.
This can be done by using a "Launch File or oper URL" custom action scheduled under "UI Custom Actions" in the "Custom Actions" page. For this custom action you set the "Command line" field to the URL you want (for example http://www.google.com).

You can read more about the "Launch file or open URL" custom action here:
http://www.advancedinstaller.com/user-g ... types.html

In the "Dialogs" page you go to "ExitDialog" and select the "Finnish" button. In the "Control" section, under the "Published Events" tab, you create this control event:

Code: Select all

DoAction     viewer.exe     AI_INSTALL
where viewer.exe is the custom action which launches the URL.

Note that all control events for the "Finnish" button (including the DoAction you are using) need to be above the "EndDialog" control event. You can read more about the Dialog Editor feature here:
http://www.advancedinstaller.com/user-g ... ditor.html

Please note that the Dialog Editor is available only for an Enterprise project.
I know how to launch urls. Right now I have set it up as a Custom Action in InstallExecuteSequence -> Commit.
Note that the usual role of the custom actions scheduled under "Commit" is to remove the rollback information saved in the install stage.


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

Return to “Common Problems”