如何使WIX安装程序适应可用的Windows Installer版本

编程入门 行业动态 更新时间:2024-10-25 04:16:14
本文介绍了如何使WIX安装程序适应可用的Windows Installer版本 - 如Hyperlink控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

Windows Installer 5添加了对Hyperlink控件的支持,如果可用,我想使用它。我不能设置对Windows Installer 5的依赖(不支持WinXP),但我希望我的安装程序能够在运行安装程序时使用Windows Installer 5时使用超链接控件。

Windows Installer 5 added support for the Hyperlink control which I would like to utilize if available. I cannot set a dependency towards Windows Installer 5 (doesn't support WinXP), but I would like my installer to be able to utilize the hyperlink control if Windows Installer 5 is available when running the installer.

你是如何做到这一点的?基于 versionMsi 条件导入片段文件属性? Google代码搜索或常规Google搜索没有' t揭示了很多样本​​。

How do you manage to do this? Conditional imports of fragment files based on the versionMsi property? A Google code search or regular Google search didn't reveal many samples.

推荐答案

你想读这篇文章:

小心那个超链接(在你的MSI对话框上)

摘要是你创建两个几乎完美的对话框并创建互斥的控制事件来驱动根据您的MSI版本显示一个。

The summary is you create two nearly idential dialogs and create mutually exclusive control events to drive which one gets displayed based on your MSI version.

更多推荐

如何使WIX安装程序适应可用的Windows Installer版本

本文发布于:2023-11-06 13:31:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1563821.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:安装程序   版本   WIX   Installer   Windows

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!