Creating a link - Advanced Installer Community

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!

danc81
Posts: 18
Joined: Tue Oct 09, 2007 8:46 am

Creating a link

I am trying to create a link on a custom dialog to take the user to a web page. Is this possible? How would I go about doing it? I could not see a link control or anything in the help about using the click event from a label.

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

Hi,

I'm afraid Windows Installer does not support this type of control.

A workaround is to create a button in the "Dialogs" page which opens the URL:
- in the "Custom Actions" page, under "UI Custom Actions", you create a new "Launch file or open URL" custom action for the URL you need
- in the "Dialogs" page you create a new button (on the dialog you need)
- in the "Published Events" tab of that button you set this control event:

Code: Select all

DoAction     viewer.exe     AI_INSTALL
where viewer.exe is your custom action

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

Return to “Common Problems”