Sam*_*ack 3 excel installation windows-installer wix wix3
我正在使用Wix v3.0(归结为MSI安装程序),我正在尝试创建一个条件以确保安装了Excel 2003.检测机器上是否存在Excel 2003的最佳(最强大)方法是什么?
我见过很多不同的建议,但没有明确或权威的答案.
我在Office 2003工具包,Office 2003 Keypath和默认安装设置工作簿中找到了一个文件,其中包含Office组件的所有GUID.基于此,我使用组件搜索来定位Core Excel组件.在WiX中,我的情况如下:
<Property Id="EXCEL2003INSTALLED">
<!-- This is the Component Id of Global_Excel_Core -->
<ComponentSearch Id="DetectExcel2003" Guid="{A2B280D4-20FB-4720-99F7-40C09FBCE10A}" Type="file"/>
</Property>
<Condition Message="This application requires Excel 2003 to be installed."><![CDATA[Installed OR EXCEL2003INSTALLED]]></Condition>
Run Code Online (Sandbox Code Playgroud)
此页面包含其他Office应用程序和其他版本的组件指南.
| 归档时间: |
|
| 查看次数: |
1767 次 |
| 最近记录: |