English 中文(简体)
how to open a web page on click of button in InstallShield?
原标题:

HI,

I want to open 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:	emp
eadme.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.





相关问题
Reusing InstallShield prerequisites

I m looking to have a release layout with multiple installers but with a single source for prerequisites, in the following structure: Product1setup.exe Product2setup.exe Product3setup.exe ...

DuplicateFile table with GAC

My installer has grown very large b/c of file duplication. Some of our DLL s are in two places (local and GAC or local and system32 folders). How can I use the DuplicateFile table or other ...

Error 1926 on setup created by InstallShield 2008

I m compiling the setup with InstallShield 2008 - Professional and I have a problem that occurred only in some Win 7 Ultimate systems. My setup is suppose (among others) to copy files to the "Program ...

A InstallShield INSTALLDIR and TARGETDIR issue

Now I have a problem about InstallShield INSTALLDIR and TARGETDIR. for example: 1- I make a project named "MyTestprogram" 2- I install this program into my computer which location is D:MyCompany...

Why isn t SQL Text Substitution working in InstallShield

I m trying to run some dynamic SQL in an installscript project. In the UI portion of the script I have the following code: TextSubSetValue("<INSERTSITES>", message, TRUE); message = ""; ...

how to open a web page on click of button in InstallShield?

HI, I want to open 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 ...

Silent install installer with prerequisites [closed]

Is there a way to install silently (/s) an InstallShield (non-MSI) installer that requires its own prerequisites? In my case the prerequisite is Microsoft Visual C++ 2008 Redistributable. Its UI ...

Issue with InstalShield

I Use Installsheild 2009 To Deployment VS2005 Project with Sql express 2005 DB. I put my exe and DB files. And I typed /qn SQLAUTOSTART=1 ADDLOCAL=ALL DISABLENETWORKPROTOCOLS=1 in command line to ...

热门标签