talu3000
Posts: 13
Joined: Wed Feb 20, 2013 1:12 am

Custom popup launch condition

Hi,

I need to display a custom popup saying: "This app requires Internet Explorer 8.0 or higher to be installed, click here to update your Internet explorer".
So I added a launch condition with Internet explorer 8 but now I'm looking for a way to customise the popup to change the text and add the link.
Is it possible to do it?

Thanks,
Sebastien
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom popup launch condition

Hi Sebastien,

I'm afraid it is not possible to have a link on the launch condition message box.

As a workaround, you can add this link on the "FatalError" dialog where the user is redirected in case the launch condition is false. Also, you can edit the text from the launch condition message box in the Table Editor page.

In order to achieve this you can follow the steps below:
- choose your predefined launch condition (i.e. Internet Explorer 8)
- go in the Table Editor page and select the "LaunchCondition" table
- in the "Description" column of the "AI_IESEARCH" row you can edit your message
- go in the Dialogs page and select the "FatalError" dialog
- add a "Hiperlink" control and in the "Properties" pane set "Visible" to "False"
- with the link still selected go in the "Control Conditions" tab and add a new control condition with the following settings:
  • Condition: NOT AI_IESEARCH
    Action: Show
- build and run the project

Please keep in mind that the "Hiperlink" control require Enhanced User Interface enabled or at least Windows Installer 5.0 installed.

Let us know if this helped, otherwise give us more details about your scenario.

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

Return to “Building Installers”