繁体   English   中英

如何在Wix安装项目中包含MSI文件

[英]How to include a msi file in a Wix setup project

我通过Wix中的Importfolder选项在安装项目中添加了一个msi文件,如图所示。 现在如果我构建它。它将产生以下错误:

 ERROR:

----- Starting C:\Program Files\WixEdit\wix-3.0.5419.0\light.exe "REDtrack_Setup.wixobj" -cultures:en-us -out "REDtrack_Setup.msi"  -ext WixIisExtension  -ext WixSqlExtension  -ext WixUtilExtension  at 12/6/2010 4:29:48 PM

Microsoft (R) Windows Installer Xml Linker version 3.0.5419.0
Copyright (C) Microsoft Corporation. All rights reserved.

D:\Apps\REDtrack Setup\REDtrack_Setup\REDtrack_Setup.wxs(2334) : error LGHT0267 : Found orphaned Component 'REDtrackService_Setup.msi'.  If this is a Product, every Component must have at least one parent Feature.  To include a Component in a Module, you must include it directly as a Component element of the Module element or indirectly via ComponentRef, ComponentGroup, or ComponentGroupRef elements.
D:\Apps\REDtrack Setup\REDtrack_Setup\REDtrack_Setup.wxs(1685) : warning LGHT1008 : The action 'PublishFeatures' in the InstallExecuteSequence table is being suppressed.
D:\Apps\REDtrack Setup\REDtrack_Setup\REDtrack_Setup.wxs(1686) : warning LGHT1008 : The action 'RegisterProduct' in the InstallExecuteSequence table is being suppressed.
D:\Apps\REDtrack Setup\REDtrack_Setup\REDtrack_Setup.wxs(1687) : warning LGHT1008 : The action 'PublishProduct' in the InstallExecuteSequence table is being suppressed.
D:\Apps\REDtrack Setup\REDtrack_Setup\REDtrack_Setup.wxs(1688) : warning LGHT1008 : The action 'RegisterUser' in the InstallExecuteSequence table is being suppressed.

----- Finished

Error in light

我该如何解决。

替代文字

您已阅读错误消息内容吗? 查看此操作为您生成了什么代码(ImportFolder;它是WiXEdit软件吗?),并根据错误消息确保组件具有至少一个父功能等。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM