以前版本的文件未卸载 [英] Files of previous version is not uninstalling

查看:125
本文介绍了以前版本的文件未卸载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该应用程序具有安装程序和"删除以前的版本"; flag已设置为True,但尚未正确删除以前版本的文件。此外,在首先卸载然后安装的情况下,它不会正确更新以前的
文件。

The application has an installer and the "Remove Previous Versions" flag has already been set as True but files of previous version haven't been removed properly. Also, in the case of uninstall first and then install, it is not updating previous files properly.

是否有人有想法或解决方案?

Is anybody has an idea or solution?

推荐答案

您好ErayS,

Hi ErayS,

您应该将安装程序的版本更改为更高版本和它会要求您更改产品代码,选择YES。

您需要更改装配版本和文件版本项目,以便它们都匹配。

确保您有set"DetectNewInstallerVersion = true"和"RemovePreviousVersion = True"。

请勿更改升级代码,让它相同。

You should change version of your installer to one higher version and it will ask you to change product code, select YES.
You need to change both the Assembly Version and File Version items so they both match.
Make sure that you have set "DetectNewInstallerVersion = true" and "RemovePreviousVersion = True".
Do not change your upgrade code, let it be same.


最好的问候,

Best Regards,


Drake

Drake


这篇关于以前版本的文件未卸载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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