HI,
I want to op开发者_StackOverflow中文版en a web page on click of a button in any dialog that is created in InstallShield. I think it can be created by using custom actions but as I am new in this tool do not find the exact way to achieve this. Please help if anyone have idea for this.
Thanks.
Like epotter mentioned, you could do the following
To open a local html file
LaunchAppAndWait( "explorer.exe", "c:\temp\readme.html", WAIT );
or to open a remote site
LaunchAppAndWait( "explorer.exe", "http://www.stackoverflow.com", WAIT );
Hope this helps!
In the handler code for the button press, call LaunchApplication. Pass in the full path to the browser of your choice and the URL to which you want to navigate.
精彩评论