英文:
MSI Wix backup all modified files before reinstall or update
问题
用户可以在安装MSI后通过补丁或自定义内容更改/更新文件。如果我们开始一个新的MSI升级,我们希望将这些文件保存在备份文件夹中(可能在临时文件夹内)。那么如何在卸载时为每个文件添加一个操作,以查看是否与原始文件有关并将此文件(们)备份到特定文件夹中。
我除了编写自定义.NET代码外没有其他想法。
谢谢
英文:
A user may change/update files after the MSI was installed due patches or custom stuff. If we start an new MSI upgrade we want to keep these files in a backup folder (maybe inside temp). So how to add an action on uninstall for each file to see if this was changed related to the original file and backup this file(s) into a specific folder.
I have no idea except from writing a custom .NET code.
thank you
答案1
得分: 1
这是需要自定义操作的情况。在Windows Installer中没有内置的功能可以在卸载过程中复制文件。
英文:
This is a situation where you need a custom action. Nothing built-in in the Windows Installer that copies files during uninstall.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论