Wix 工具集 - 无法创建/安装比原始 msi 包少的文件/组件的补丁 [英] Wix Toolset - Cannot create/install patch with fewer files/components than the original msi package

查看:21
本文介绍了Wix 工具集 - 无法创建/安装比原始 msi 包少的文件/组件的补丁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在场上的几个位置的初始 .msi 相同,有大约 2000 个文件(多种文件类型).但是,我将不得不根据需要将补丁发送到少数几个位置,因此补丁应该包含更少的文件(有时只有 1 个文件作为修复).我无法使用我想要添加/更新的单个文件或几个文件创建补丁 (.msp),但还必须包含所有原始文件集.这可以通过任何方式实现吗?请帮忙!!

I have few locations on the field for which the initial .msi is same having about 2000 files (of multiple file types). However, I will have to send patches to few of the locations depending on the need so the patch should consist of fewer files (sometimes only 1 file as a fix). I am unable to create a patch (.msp) with just one single file or few files that I want to add/update but have to include all the original set of files as well. Can this be accomplished by any means? Please help !!

我也不想做Major Upgrade,因为一些原始文件是日志和数据库文件,需要保持完整且无法删除.

Also I do not want to do Major Upgrade as some of the original files are logs and database file which needs to stay intact and cannot be removed.

当我使用简单的文本文件尝试这个场景时,我的 .msi 有 3 个文本文件,而 .msp 只有 1 个我想要更新的文本文件,一切都很成功,我可以看到更改.但是当我尝试使用实际文件夹时,出现此错误:-

When I tried this scenario with simple text files where my .msi has 3 text files and the .msp has only 1 text file that I want to update, everything went successful and I could see the changes. But when I tried with my actual folder, I got this error:-

MSI (s) (A0:70) [16:17:59:147]: SELMGR: ComponentId '{B826B564-A3C4-45AB-9623-FB0089831140}' 已注册为功能 'ProductFeature',但组件表中不存在.不支持从功能中删除组件!MSI (s) (A0:70) [16:17:59:147]:SELMGR:不支持从功能中删除组件

它所指的组件是一个dll.我在 dll 方面遗漏了什么吗?

where the component it is referring to is a dll. Am I missing something when it comes to dlls ?

推荐答案

谢谢 David &克里斯和所有其他人在这方面的时间.现在,我添加了新组件作为新功能,以便所有现有组件都可以属于同一功能.这为我消除了错误.

Thank you David & Chris and all others for your time on this. For now, I have added new components as a new feature so that all existing components can belong to same feature. This has removed the error for me.

这篇关于Wix 工具集 - 无法创建/安装比原始 msi 包少的文件/组件的补丁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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