Revenera logo

By Richard Woods

Have you ever wanted to add a web link to your setup? It is quick and easy to do with the Suite project hyperlink control.

Adding the Hyperlink Control

  1. Open up your Suite project.
  2. Browse to the Wizard Interface view.
  3. Select the wizard page you want to add a hyperlink to.
  4. Click on the hyperlink control on the toolbar:
  5. Size and position your new hyperlink control to the size and position you want.
  6. In the Text field, enter the text you would like to appear on the dialog. Ex: Support Page
  7. In the Target URL field, enter the URL that you want to navigate to when the hyperlink is clicked. Ex: http://www.MycompanyURL.Com/support
  8. Build and run your project.

You should see the hyperlink on your wizard page, and clicking it will navigate to the URL you specified.

Using a Property for Target URL

If you would like to use a property for your URL instead of hard coding the address, this is easy to do as well.

  1. Navigate to the Property Manager view.
  2. Click the “New” button.
  3. Specify a property name. Ex: SupportURL
  4. Specify a web address in the Value field. Ex: http://www.MycompanyURL.Com/support
  5. Navigate back to your wizard page in the Wizard Interface view.
  6. Change the Target URL to the property name you specified, enclosed in brackets. Ex: [SupportURL]
  7. Build and run the installation.

The hyperlink will now navigate to the web page specified in your property.

Using an Action with your Hyperlink

What if in addition to browsing to a URL, you also wanted to perform an additional action when a hyperlink is clicked? You can do this too. Let’s walk through opening a file.

InstallShield icon

InstallShield

Create native MSIX packages, build clean installs, and build installations in the cloud with InstallShield from Revenera.

  1. In the action field, enter: {Open ReleaseNotesFile}
  2. Browse to the Support Files view.
  3. Add the file you would like to open. Ex: ReleaseNotes.txt
  4. Browse to the Property Manager view.
  5. Click the “New” button.
  6. Specify a property name. Ex: ReleaseNotesFile
  7. Specify the file location for the property’s value. Ex: [SETUPSUPPORTDIR]ReleaseNotes.txt
  8. Build and run the installation.

The hyperlink will now navigate to the web page specified, and open ReleaseNotes.txt.

If you want to open only a file with the hyperlink control, you just specify the path directly in the Target URL field and do not specify anything for Action. Ex: [SETUPSUPPORTDIR]ReleaseNotes.txt

Or, if you wanted to open the file with a button instead of a hyperlink control, you could specify the same action you did for the hyperlink control in the button’s Action field. Ex: {Open ReleaseNotesFile}

For more how-to information, review the InstallShield Tips & Tricks.