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!

Antarctica
Posts: 110
Joined: Tue Jul 08, 2014 9:24 am

Open a child dialog if a label is clicked

I would like to have a link which does not look like a button, but like a weblink. If this link is clicked, another dialog or dialog sequence should be opened, where I will give some info on how to check why the database connection fails.

I got a label to look like a link, but I can't seem to open a dialog from there. Unlike buttons, labels have no "Published Events". Is it me or is making a link from a label impossible in AI 11.3?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Open a child dialog if a label is clicked

Hi,

In order to achieve this you can use the Hyperlink control which has support for published events.

Please note that as specified in the above link, "this control is available beginning with Windows Installer 5.0. If you want to use this control on all Windows Installer versions, you must configure you project to use Enhanced User Interface".

You can take a look on the Careful with that Hyperlink (on your MSI dialog) article which debates this problem.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”