从运行一个网页,而无需用户操作的ClickOnce应用程序 [英] Run a ClickOnce application from a webpage without user action
问题描述
我们有一个基于Java的Web应用程序,并用C#编写相同的应用程序,如果Java的检查发现,有没有安装在客户机上的Java应运行。这个想法是自动运行的C#的ClickOnce应用程序,无需任何用户操作,一旦Java的检查报告那有没有Java安装在机器上。这是可能的,如果是 - 如何
We have a Java based web-application and also the same application written in C# which should be run if the java-checker finds out that there's no Java installed on the client machine. The idea is to run the C# ClickOnce application automatically, without any user action, once the Java checker reports that there's no Java installed on the machine. Is that possible and if yes - how?
推荐答案
只是链接到(或浏览器重定向到)的 ClickOnce应用程序的网址。这应该启动该应用程序。
Just link to (or redirect the browser to) the URL of the ClickOnce application. That should launch the application.
例如, HTTP ://www.domain.com/myapp.application
这篇关于从运行一个网页,而无需用户操作的ClickOnce应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!