开发者

How to include a msi file in a Wix setup project

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.

How to include a msi file in a Wix setup project


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜