Hello,
I would like to add a hyperlink to an external website in my product installer. I can't seem to figure out a way to do this - is is possible?
I would be happy with a simple button, but I'm not sure how to have it trigger some arbitrary piece of code (InstallAware script). If I could do so, I would simply ShellExec out a call through shell32.dll. But I don't see a way to do this in response to a button click.
Maybe there's another way?
- Mark R.
External link
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
To run the link, you'd just use Run Program.
See the CD Autorun sample - it contains multiple buttons/links on the dialog, and the MSIcode script traps the events on each dialog item, letting you process them manually in your script. That should be a great example for you.
See the CD Autorun sample - it contains multiple buttons/links on the dialog, and the MSIcode script traps the events on each dialog item, letting you process them manually in your script. That should be a great example for you.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
You will need to use the label based approach, instead of the wizard loop command, to achieve this requirement. The wizard loop is ideal for simple back-next-cancel dialogs shown after one another with nothing much going on in between; the label based approach provides a lot more options and custom handing for every click on your dialogs. Just look at the default setup project to see how the label based approach is coded.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 186 guests