如何在小升级期间从安装程序中删除文件
在InstallShield 2011的小升级期间,如何删除/删除从基本安装程序安装的一些文件,以及在下次升级时如果我们想找回已删除的文件,我们该如何找回?
During Minor Upgrade in InstallShield 2011, how to delete/remove some files which was installed from base installer and for next upgrade if we want to retrieve back the removed files how can we get back?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
次要升级限制:次要升级对于您在升级场景中允许执行的操作有很大限制。 我之前写过对此的摘要,我会将其发送给您以快速阅读该主题。
快速提示:我几乎从不使用次要升级(原因在您阅读上面链接的答案后就清楚了),但这里有一些摘录自 Stefan Kruger 的检查列表(MSI 和部署专家 - MVP):
虽然内容有些陈旧,但我相信以上是正确的。
重大升级:我强烈建议您将来进行重大升级。如果您对组件规则非常严格并且不违反任何引用规则,则可以使用 Late REP 可靠地安装主要升级 - 正如我们所说 - 这意味着新版本将作为补丁安装现有文件的顶部,然后仅删除过时的文件(与完全卸载旧版本然后安装新版本的 Early REP 相反)。 此处详细介绍早期/晚期 REP 。
链接:
Minor Upgrade Limitations: Minor upgrades are very restrictive with regards to what they allow you to do in an upgrade scenario. I have written a summary of this before, and I will send you there for a quick read on the topic.
Quick Tips: I almost never use minor upgrades (for reasons that are clear after you read the above linked answer), but here are some extracts from Stefan Kruger's check list (MSI and deployment expert - MVP):
Though aging content, I believe the above is correct.
Major Upgrade: I would strongly recommend that you go for major upgrades in the future. If you are very strict with the component rules and don't break any referencing rules, you can reliably install major upgrades with Late REP - as we call it - meaning that the new version installs as a patch on top of existing files and then only removes obsolete files (as opposed to Early REP which fully uninstalls the old version and then installs the new version). A little bit more on Early / Late REP here.
Links: