使用InstallShield开发的修补程序卸载无法正常工作 [英] patch uninstall not working properly developed using InstallShield

查看:183
本文介绍了使用InstallShield开发的修补程序卸载无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Installshield为产品创建了补丁.当我应用补丁时,产品文件将成功更新.但是,在尝试卸载修补程序时,它会成功从目标m/c卸载或成功删除新添加到修补程序中的dll,但是由于修补程序而被修改的某些dll或exe在卸载修补程序时不会恢复原状.

I have created a patch for my product using Installshield. When I apply the patch the product files get updated successfully. However, when trying to uninstall the patch it uninstalls or removes successfully the newly added dlls to the patch from the target m/c, but somehow some dlls or exe which got modified due to the patch are not reverting back upon uninstallation of the patch.

当我看到版本时,某些dll的日期和时间就是应用补丁的日期,并且该版本在卸载补丁后仍然是新的.这意味着dll不会恢复原状.

When I see the version, date and time of some of the dlls are the date on which patch was applied and also the version remains the new one after uinstallation of the patch. that means dlls are not getting reverted back.

有人可以帮忙理解为什么补丁卸载后我的某些dll无法恢复.我已正确遵循补丁程序的卸载规则.

Can someone please help to understand why some of my dlls are not getting reverted back upon patch uninstallation. I have followed the patch uninstall rules properly.

推荐答案

我在补丁卸载时得到了解决方案,为什么某些组件(dll)不能恢复原状.那是因为我的项目中存在自定义操作,这导致了导致不允许在卸载补丁后重新安装我的component(dll)的功能的问题.

Hi I got the solution upon patch uninstall why some components(dlls) are not getting reverted back. that is because there is custom action in my project which was causing the issue which was not allowing the Feature in which my component(dll) to re installed upon patch uninstall.

日志说 MSI(s)(1C:EC)[17:14:50:054]:功能:ALLDLLS;已安装:本地;要求:本地;动作:本地 在请求和操作语句中应在何处重新安装而不是在本地安装.所以我修改了自定义操作,结果是

the log was saying as MSI (s) (1C:EC) [17:14:50:054]: Feature: ALLDLLS; Installed: Local; Request: Local; Action: Local Where it should be re installed instead of Local in request and action statement. So I have modified the custom action and the result is

MSI(s)(1C:EC)[17:14:50:054]:功能:ALLDLLS;已安装:本地;请求:重新安装;行动:重新安装

MSI (s) (1C:EC) [17:14:50:054]: Feature: ALLDLLS; Installed: Local; Request: Reinstall; Action: Reinstall

依次还原了未还原的组件或dll.

which in turns also reverted the Components or dlls those were not getting reverted.

这篇关于使用InstallShield开发的修补程序卸载无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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