使用WiX将MSI限制为Windows XP SP3或SP2 for x64

时间:2013-08-22 20:18:32

标签: windows wix windows-installer

我正在尝试限制我的MSI安装程序至少在Windows XP SP3 for x86平台上运行,或者在Windows XP SP2 for x64平台或任何更高版本的操作系统上运行。我正在使用WiX通过以下标记执行此操作:

<Condition Message='Windows XP with Service Pack 3, or SP2 for 64-bit OS, or later OS is required.'>
<![CDATA[VersionNT > 501 OR (VersionNT = 501 AND ServicePackLevel = 3) OR (VersionNT64 = 501 AND ServicePackLevel = 2)]]></Condition>

但是当我在Windows XP SP1 for x64平台上试用它时,这似乎不起作用。

0 个答案:

没有答案