MSI程序包属性表条目以启用更新版本 [英] MSI package property table entries to enable update releases

查看:76
本文介绍了MSI程序包属性表条目以启用更新版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用一个名为MSICREATE的程序为一个软件生成msi软件包.然后,我使用orca转换msi包.一切正常,但是用户必须在安装更新之前删除现有产品.我想修改msi软件包,以便安装程序识别正在安装的新版本或其他版本,并删除当前版本,然后安装新的msi软件包.

I use a program called MSICREATE to generate msi packages for a piece of software. I then use orca to transform the msi package. Things work ok but users must delete the existing product before installing an update. I'd like to modify the msi package so the installer recognizes a newer or different version is being installed and removes the current version and then installs the new msi package.

需要哪些属性表条目?

=========

=========

以下给出的答案帮助我摆脱了原来的问题,我感谢Ciprian的帮助.我的主要升级MSI现在删除了现有产品,但并未完全重新安装该产品.我的产品包括一些文本文件,帮助文件和.exe文件. .exe文件未重新安装.

The answer given below has helped me get beyond my original problem and I thank Ciprian for his help. My major upgrade msi now deletes the existing product BUT does not completely re-install the product. My product consists of some text files, a help file, and a .exe file. The .exe file is not re-installed.

无论价值多少,我都在下面添加了答案,总结了我使用orce添加到我的msi中的内容.

For whatever it's worth, I added answer below which summarizes what I added to my msi using orce.

推荐答案

我不知道MSICREATE如何处理升级方案.但是,您可以使用ORCA实现此目的. 此处是一个来自MSDN的详细升级示例.

I don't know how MSICREATE handles the upgrade scenario. However you could achieve this using ORCA. Here is a detailed upgrade example from MSDN.

长话短说,您的两个软件包都必须共享升级代码.另外,您还必须在第二个软件包的升级表.

Long story short both your packages must share the UpgradeCode. Also you must author an entry in the Upgrade table of the second package.

这篇关于MSI程序包属性表条目以启用更新版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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