ClickOnce应用程序仅适用于某些应用程序 [英] ClickOnce Application only works for some

查看:130
本文介绍了ClickOnce应用程序仅适用于某些应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我公司的所有用户都可以使用setup.exe安装脱机ClickOnce应用程序,但许多用户无法使用ClickOnce应用程序快捷方式。当他们单击快捷方式时,将打开启动应用程序窗口,然后关闭。如果他们以管理员身份运行安装在其用户目录中的
可执行文件,则应用程序将运行。

All users at my company can install the offline ClickOnce Application using setup.exe however many users cannot use the ClickOnce Application shortcut. When they click the shortcut the launching application window opens then closes. If they run the executable that was installed in their user directory as an administrator the application will run.

如果有人可以运行应用程序,则单击快捷方式,他们将获得用户帐户控制对话框询问他们"您是否希望允许来自未知发布商的此应用对您的设备进行更改?"。点击"是"应用程序运行。

If someone who can run the application clicks the shortcut they get a User Account Control dialog asking them "Do you want to allow this app from an unknown publisher to make change to your device?". Click "Yes" and the application runs.

应用程序正在每个人的本地计算机上安装。

The application is being installed on everyone's local machine.

我发现这是特定于机器而非用户特定的。

I have found that this is machine specific not user specific.

推荐答案

这是因为出版商clickonce项目未知,  ClickOnce项目是您自己的开发吗?或者你是从别人那里购买的?

That is because the publisher of the clickonce project is unknown, Is the ClickOnce-project your own development? Or are you buying from others?

如果是你自己的开发项目,你需要用有效的证书登录,请参考以下文件:

If it is your own development project, you need to sign in it with a valid certificate, and please refer to the following documents to do it:

ClickOnce Security and部署

配置ClickOnce受信任的发布者

如何:签署应用程序和部署清单

如何签署ClickOnce应用程序

如果项目来自其他人,请联系发布者以使用有效证书并将证书安装到您的计算机上。

If the project comes from others, please contact the publisher to sign the application with a valid certificate and install the certificate to your computer.

Reg ards,

Stanly


这篇关于ClickOnce应用程序仅适用于某些应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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