Im using ISDev7.0 and I have a custom dialog on my project that should lauch an HTML file when the user click a button on it. How can I do this??? Any idea???
Hope you could help me. Thanks in advance for any help =)
Dyerald
Posted 12 November 2001 - 10:08
Im using ISDev7.0 and I have a custom dialog on my project that should lauch an HTML file when the user click a button on it. How can I do this??? Any idea???
Hope you could help me. Thanks in advance for any help =)
Dyerald
Posted 12 November 2001 - 11:29
What I did was:
1. Have an AppSearch event looking for the acrobat reader (sets a property called ACROBATREADER)
2. Depending on certain conditions I set a RELEASENOTES property to the file I want to start
3. If the checkbox on the SetupCompleteSuccess dialog is checked then I run a Type 498 (Launch EXE, stored in the property table, don't wait, ignore return code, exec only once) with the Source attribute ACROBATREADER and the Target "[RELEASENOTES]"
You should be able to use this technique, searching for iexplore.exe, or you could replace the first section with something that reads the association for .html files if you want to launch Netscape.
Hope this helps
Graham
Posted 13 November 2001 - 02:41
Dyerald
Posted 13 November 2001 - 13:53
If not, the first point about the AppSearch event should still be useful to you to find the location of iexplore.exe, and then you should be able to use the InstallScript LaunchApp function using the resulting property.
In this situation it might be best to write some InstallScript code that checks the association of html files in the registry and launches the associated browser. Or you could go directly to the ShellExecute API call and let this do the work for you if you're familiar with API programming from InstallScript...
Graham
Posted 14 November 2001 - 09:28
Posted 15 November 2001 - 20:28
Posted 20 November 2001 - 07:03
Thanks you so much for the idea, but I still dont know how to do it? What function will I use on the InstallScript? Did you use InstallScript or MSI functions? If its not too much for you.. can you give me an example???
Pls i really need help. Thanks so much in advance. =)
Dyerald