每次都必须重新安装ClickOnce应用程序 - 相同版本 [英] Must reinstall ClickOnce application each time - same version

查看:119
本文介绍了每次都必须重新安装ClickOnce应用程序 - 相同版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的内联网上部署了一个应用程序,并且在远程办公室(德国)的某些(但不是全部)用户遇到问题





当用户在早上登录他们的计算机时,他们点击
开始菜单中的链接来运行应用程序/检查更新。



他们获得通常的安全提示,就好像有一个新版本(Permission Elevation)。

应用程序下载,他们可以运行它。



问题是,他们必须每天都这样做(一次,当他们登录时--if
他们关闭应用程序,然后从开始菜单再次运行,没有"安装",并且
应用程序的版本#自上次使用
以来没有改变它。




我很难过,因为如果它是一个Permission Elevation问题,应用程序
根本就不会运行(这是非常侵入性的,写入文件和
注册表。)


我想也许该办公室的IT部门在他们的个人资料上有一些奇怪的设置?



当发生这种情况时,它与前一天在同一台机器上是同一个用户。

我没有已发布的证书。

该应用程序名称很强。

我需要最新版本,以跳过其他提示。

这种情况​​发生在一些但不是所有用户。

我选择了"这个应用程序是有用的离线也可以(从开始菜单启动)"

我使用VS2005发布,不要手动或使用任何其他工具更改清单。



任何帮助将不胜感激。如果我没有提供足够的细节,请告诉我。



-Isaac

I have an application deployed on our intranet, and am having problems with some (but not all) of my users in a remote office (Germany)-

When the users log into their machines in the morning, they click on the link in their start menu to run the application/check for updates.

They get the usual security prompt as if there was a new version (Permission Elevation).
The application downloads, and they are able to run it.

The problem is, they must do this every day (once, when they log in--if they close the app, and run it again from start menu, no 'install), and the version # of the application hasn't changed since the last time they used it.


I'm stumped, because if it were a Permission Elevation issue, the app wouldn't run at all (it's quite invasive, writing to files and to the registry).

I'm thinking maybe the IT department at that office has some strange settings on their profiles?

When this occurs it is the same user on the same machine as the day before.
I don't have a published certificate.
The application is strong named.
I require the latest version, to skip the additional prompt.
This happens to some but not all users.
I have selected "this application is available offline as well (launchable from the Start Menu)"
I use VS2005 to publish, and don't alter the manifests manually or with any other tool.

Any help would be greatly appreciated. Let me know if I didn't provide enough detail.

-Isaac

推荐答案

我知道这篇文章是从不久前开始的,但是我在通过VS2010进行ClickOnce部署时遇到了完全相同的问题。

I know that this post is from a while ago, but I'm having the exact same problem on a ClickOnce deployment via VS2010.

我知道这与漫游配置文件有关。每次用户注销时都会删除该配置文件,因此当他们再次登录并运行应用程序时,当然需要将文件下载到配置文件的本地部分。

I know that it's to do with Roaming profiles. The profile is deleted everytime a user logs off, and so when they logon again and run the application, of course it needs to download the files to the Local part of the profile.

是否有人知道这个问题的解决方案吗?

Does anybody know of a solution to this problem?


这篇关于每次都必须重新安装ClickOnce应用程序 - 相同版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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