如何在wxs中以产品代码*的形式在WiX中创建补丁 [英] How to Create a Patch in WiX with the product code as * in wxs

查看:100
本文介绍了如何在wxs中以产品代码*的形式在WiX中创建补丁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个现有的大型WiX安装,已经发布,产品代码用*表示.我只需要为几个已更改的文件创建一个小型安装.由于产品代码用*表示,因此WiX不允许创建msp文件,因为产品代码不同.我该怎么做才能解决此问题?

I have an existing large WiX install that has already been released with the product code mentioned as *. I need to create a small install for just a couple of files that have changed. As the product code is mentioned as *, WiX doesn't allow creating an msp file as the product code differs. What can I do to fix this issue?

推荐答案

您不能使用主要升级来创建次要升级补丁.构建新版本之前,您需要更改Product/@ Id以与目标产品的产品代码匹配.

You can't use major upgrades to create minor upgrade patches. You need to change Product/@Id to match the product code of your target product before building the newer version.

这篇关于如何在wxs中以产品代码*的形式在WiX中创建补丁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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