从 InstallShield 切换到 WiX [英] Switching from InstallShield to WiX

查看:25
本文介绍了从 InstallShield 切换到 WiX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找 InstallShield 的替代品.不幸的是,我们只有 1 个 InstallShield 许可证,并且它安装在开发人员的机器上.我正在考虑切换到 WiX,但在阅读文档后,有一个产品 ID GUID、升级代码 GUID 和一个包 GUID.

I am looking for a replacement for InstallShield. Unfortunately we only have 1 license for InstallShield and it was installed on a developer's machine. I'm considering switching over to WiX, but after reading the documentation there is a Product ID GUID, Upgrade Code GUID and a Package GUID.

我还知道 GUID 是由 InstallShield 创建的.如果我切换到 WiX,我可以开始使用新的 GUID 还是使用 InstallShield 创建的一些 GUID?如果发布了对产品的升级,更换安装程序是否会影响使用旧安装程序的客户?

I also know GUID's were created by InstallShield. If I switch over to WiX can I start using new GUID's or do I have use some of the GUID's created by InstallShield? If an upgrade to a product is released will switching installers hose customers who had the old installer?

推荐答案

为了能够升级您的旧包,您需要使用(并找出)您的旧升级代码.
对于每个不同的 MSI,包代码应该不同(即自动生成)(MSI 可以使用 guid 作为缓存键进行缓存).
产品代码在主要升级之间应该不同,但对于次要升级和补丁很重要.我现在除了重大升级外没有使用 wix 做任何其他事情,所以我不知道具体细节

In order to be able to upgrade your old package, you need to use (and find out) your old upgrade code.
The Package code should be different (ie autogenerated) for every different MSI (the MSI can be cached with the guid as cache key).
The Product code should be different between major upgrade, but is important for minor upgrades and patches. I haven't used wix to do anything else than major upgrades right now, so I don't know the exact details

请参阅关于修补和升级 以及 WiX 教程

这篇关于从 InstallShield 切换到 WiX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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