cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Pilgrim

InstallScript to create a clickable URL Link?

Does InstallScript have the capability to create a clickable link to redirect user to local computer's folder, or launch a nested installation?
Labels (1)
0 Kudos
7 Replies
Pilgrim

Re: InstallScript to create a clickable URL Link?

InstallShield 2010 includes support for HTML controls on dialogs in InstallScript and InstallScript MSI projects. HTML controls enable you to use HTML markup for dialog controls. You can include on dialogs links to Web pages, installed HTML files, and HTML support files. If an end user clicks the hyperlink on the run-time dialog, you can have the HTML page open in an Internet browser, or you can trigger other behavior that you have defined through your InstallScript code. The HTML control lets you use any valid HTML markup, including styles to control their appearance.
The HTML control also lets you display the HTML content directly on a dialog if the content is an installed HTML file or HTML support file.
A new InstallScript function called CtrlGetUrlForLinkClicked is available. This function retrieves the URL for a link that an end user clicked.
0 Kudos
Flexera
Flexera

Re: InstallScript to create a clickable URL Link?

Does Installshield 2010 contain functionality for dynamic URL shortcuts?
For example a shortcut that contains the link
https://[TargetMachineName]/Product/Welcome.aspx
0 Kudos
Flexera
Flexera

Re: InstallScript to create a clickable URL Link?

The CtrlSetText function has been updated in IS 2010 to allow for providing HTML content for a control on an InstallScript dialog. This would allow for dynamically changing the content of an HTML control at runtime.
0 Kudos

Re: InstallScript to create a clickable URL Link?

I understand you are pushing your 2010 version, but it is getting annoying to see every single 2009 question answered by saying get 2010.

The question was, in 2009 is there a way to create a clickable URL link. Can you answer that question please?
0 Kudos
Flexera
Flexera

Re: InstallScript to create a clickable URL Link?

The InstallScript user interface support does not provide HTML or hyperlink support in IS 2009 or older versions. We apologize if this was not clear from the original answer.
0 Kudos
Pilgrim

Re: InstallScript to create a clickable URL Link?

I tried following the instructions to create a linkable URL in installshield 2010, but it does not work.

Can anyone post a real sample code here?

Thanks,

Michael
0 Kudos
Pilgrim

Re: InstallScript to create a clickable URL Link?

Are you referring to the instructions in the following help topic?
Using an HTML Control on a Dialog
That should work. What happens when you try to click the link at run time? Does nothing happen?

Can you post the HTML code that you entered for the dialog control's Text setting? Also, can you post any CtrlGetUrlForLinkClicked code and CtrlSetText code that you added to your project? That may help with troubleshooting this issue.

Thanks.
0 Kudos