打开由Web浏览器部署在共享文件夹中的ClickOnce应用程序 [英] Open ClickOnce application deployed in shared folder by a web browser

查看:124
本文介绍了打开由Web浏览器部署在共享文件夹中的ClickOnce应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在与UNC // Server / Folder共享的文件夹上发布了 ClickOnce 应用程序。
我使用Visual Studio 2010,并通过ClickOnce发布向导发布该应用程序。

I publish ClickOnce application on a shared folder with UNC //Server/Folder. I use visual studio 2010 and publish this application by the ClickOnce publish wizard.

发布后,我想在Web浏览器上运行它(例如, FireFox和Internet Explorer)。我使用地址 //服务器/文件夹。现在,我单击安装文件。它将被下载到我的计算机上 C:/ Users / duytn / Downloads / 。然后,我单击此设置以运行。发生错误。详细信息如下:

After publish, I want to run it on my web browser (for example, FireFox and Internet Explorer). I use the address //Server/Folder. Now, I click on the setup file. It will be downloaded to my computer to C:/Users/duytn/Downloads/. Then, I click on this setup to run. An error occur. This is its detail:

SOURCES

Deployment URL: file:///C:/Users/duytn/Downloads/WMEditor.application

ERROR SUMMARY

Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\duytn\Downloads\WMEditor.application resulted in exception. Following failure messages were detected:
    + Downloading file:///C:/Users/duytn/Downloads/WMEditor.application did not succeed.
    + Could not find file 'C:\Users\duytn\Downloads\WMEditor.application'.
    + Could not find file 'C:\Users\duytn\Downloads\WMEditor.application'.
    + Could not find file 'C:\Users\duytn\Downloads\WMEditor.application'.

我认为此设置找不到清单(* .Application文件)。我想在共享文件夹上发布项目。并通过Web浏览器运行它。

I think this setup can not find its manifest (*.Application file). I want to publish the project on a shared folder. And run it by web browser.

推荐答案

您应从共享文件夹中运行安装程序,如 setup.exe 在setup.exe所在的同一文件夹中查找部署文件。

You should run the setup from the shared folder, as the setup.exe looks for the deployment file on the same folder the setup.exe resides in.

使用文件: //server/sharefolder/setup.exe 作为Web浏览器中的链接,然后单击运行。

Use file://server/sharefolder/setup.exe as the link in your web browser and click "run".

这篇关于打开由Web浏览器部署在共享文件夹中的ClickOnce应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆