如何在InstallShield中单击按钮打开网页?

发布于 2024-08-12 21:21:02 字数 132 浏览 3 评论 0原文

您好,

我想通过单击 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

猫烠⑼条掵仅有一顆心 2024-08-19 21:21:02

就像 epotter 提到的,您可以执行以下操作

来打开本地 html 文件

LaunchAppAndWait( "explorer.exe", "c:\temp\readme.html", WAIT );

或打开远程站点

LaunchAppAndWait( "explorer.exe", "http://www.stackoverflow.com", WAIT );

希望这有帮助!

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!

身边 2024-08-19 21:21:02

在按钮按下的处理程序代码中,调用 LaunchApplication。传入您选择的浏览器的完整路径以及您要导航到的 URL。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文