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

发布于 2024-10-06 09:30:48 字数 1650 浏览 0 评论 0原文

我通过 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

我该如何解决它。

替代文字

I added one msi file in a setup project through Importfolder option in Wix as shown in figure.
Now if i build it.It gives following error:

 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

How can i resolve it.

alt text

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

翻身的咸鱼 2024-10-13 09:30:48

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

Have you read what error message says? See what code was generated for you by this action (ImportFolder; is it WiXEdit software?) and make sure the components have at least one parent feature, etc. according to the error message.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文