安装向导自动更新失败 [英] Setup Wizard auto update failure

查看:123
本文介绍了安装向导自动更新失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我有一个处于测试阶段的项目,即将投入生产.该项目有一个安装向导,在启动时,我的程序会到达服务器,并检查XML文件以查看服务器上最新的版本.一旦确定(基于与该文件相比的程序集版本)需要更新,它将运行其安装文件,然后退出.

然后,用户应运行其安装向导,它将重新安装,然后在重新打开它时,便具有最新版本.

我将设置向导的RemovePreviousVersions属性设置为true,每个发行版我都在递增程序集版本和文件版本以及安装向导的版本,并在询问时更新产品代码.

由于某些原因,我的一些用户遇到了一个不寻常的问题:当他们安装新版本时,还不存在.它们具有相同的版本,但是exe属性上的程序集版本是最新的,但是没有传递任何编码更改.它适用于我自己的计算机上的安装,也适用于我的某些用户,但是对于某些用户而言,它只是无法正常工作.

仍然无法添加/删除程序,删除应用程序并重新安装.我必须这样做,然后还要删除程序文件数据(显然,删除没有摆脱此文件夹?).完成此操作后,重新安装终于成功了.

Hello,

I have a project that is in beta, soon to be in production release. There is a setup wizard for the project, At launch, my program reaches out to the server, and checks an XML file to see what version is the latest one on the server. Once it is determined (based on the assembly version compared to that file) that an update is required, it runs it''s setup file, and exits.

The user should then run their setup wizard, it will re-install, and then when they re open it, they have the latest version.

I have the RemovePreviousVersions property of the setup wizard set to true, each release I am incrementing the assembly version and the file version, and the setup wizard''s version, also updating the product code when it asks.

For some reason, several of my users are getting an unusual problem: When they install the new version, it''s not there. It''s the same version they had, but the assembly version on the exe''s properties is the latest, but none of the coding changes had been passed across. It works for the install on my own machine, and for some of my users, but for some, it just fails to work correctly.

Going to add/remove programs, removing the application, and reinstalling it still did not work. I had to do that, and then ALSO go and delete the program files data (apparently the remove did not get rid of this folder?). After doing this, the reinstall finally worked. Has anyone ever dealt with something like this before, and do you have any clue how I can fix it?

推荐答案

立即想到的是这些用户可能拥有他们的机器上权限不足.您是否在检查是否允许安装/重新安装软件的人员执行所需的所有操作,或者该程序是否只是默默地失败了?
您是否正在将某些程序集放入GAC中?

最好的问候,
曼弗雷德(Manfred)
What immediately comes to mind is that these users may have insufficient rights on their machines. Are you checking if the person installing / reinstalling the software is allowed to do everything needed or does the program just silently fail?
Are you placing some assemblies into the GAC maybe?

Best Regards,
Manfred


这篇关于安装向导自动更新失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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