cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fluzzi-csw
Level 3

Hyperlink misbehaving in HtmlDialog InstallShield2022 Premier Edition

Hi, I've found this strange behaviour while running the installer on different OS.

On Windows11 everything is fine, the hyperlink is recognized and clicking it opens the browser page as expected (i'm using <a href="..." target="_blank">...</a>).

On Windows10 the Hyperlink is recognized but clicking it doesn't do anything.

I've also tried removing the `target="_blank"` and handling the click event in installscript, but the event never triggered (Using an HTML Control on a Dialog (revenera.com).

My custom dialog is very similar with what is found in the examples CtrlGetUrlForLinkClicked Example (revenera.com)

Did you even encountered something like this?

Thanks in advance!

 

 

 

Labels (1)
0 Kudos
(3) Replies
Kocoura
Level 3

Hi fluzzi-csw,

did you find a solution?
I am currently upgrading my projects from IS 2020 to 2023 and are also now facing the same issue "the Hyperlink is recognized but clicking it doesn't do anything.". But for me it happens on both win10 and win11.

Unfortunately no, I moved away from that solution and started using MessageBox.

Not super happy with this solution but at least it works.

function ShowMessageAndRedirect(svText, svUrl, bAbort)
begin
    MessageBox(svText, WARNING);
    LaunchAppAndWait(
        "cmd.exe", "/C start " + svUrl,
        LAAW_OPTION_NOWAIT | LAAW_OPTION_HIDDEN
    );
    if bAbort then
        abort;
    endif;
end;

 

Hm okay, intersting. I'll look into it. Thanks