Wix安装程序中的警告 [英] Warning in Wix Setup

查看:164
本文介绍了Wix安装程序中的警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我是Wix工具包的新手。我正在为我的应用程序使用Wix Toolkit创建一个设置。

但是当我尝试使用Wix构建它时。它显示了这个警告。



Hi,

I am new to Wix toolkit. I am creating one setup using Wix Toolkit for my Application.
But when I try to build it using Wix. It shows this warning.

Quote:

C:\ Users \ BNK \Desktop\wix - popup \setup.wxs(60):警告LGHT1076:ICE69:Misma

tched组件参考。快捷方式表的'FCONStartMenuShortcut'条目b

elongs到组件'FCONShortcut'。但是,'Tar

'列中的格式化字符串'引用文件'FCONUCClient.exe'属于组件'FCONUCClient

.exe'。组件具有相同的功能。

C:\Users\BNK\Desktop\wix - popup\setup.wxs(60) : warning LGHT1076 : ICE69: Misma
tched component reference. Entry 'FCONStartMenuShortcut' of the Shortcut table b
elongs to component 'FCONShortcut'. However, the formatted string in column 'Tar
get' references file 'FCONUCClient.exe' which belongs to component 'FCONUCClient
.exe'. Components are in the same feature.







有人能告诉我我的代码有什么问题吗?

这是Wix设置代码...






Can anybody show me what's wrong in my code?
Here is the Wix Setup codes...

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' >

  <Product Name='FCON UC Client 1.0.9' Id='74D7E851-084D-453B-8789-C46B6D3099DA' UpgradeCode='38856FDA-E3E3-4866-9E7A-503A9F1171A6'

    Language='1033' Codepage='1252' Version='1.0.9' Manufacturer='BNK Systems JLT' >
    <!-- Product Info-->

    <Package Id='*' Keywords='Installer' Description="FCON UC Client 1.0.9"

      Comments='All Rights Reserved BNK Systems JLT.' Manufacturer='BNK Systems JLT'

      InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
    <!-- Package Info-->
    <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' />
    <!-- Setup is CDROM Installer Package-->
    <Property Id='DiskPrompt' Value="BNK Systems JLT FCON UC Client Installation" />
    <!-- Definition for DiskPrompt used in Media above -->

    <Directory Id="TARGETDIR" Name="SourceDir">
      <!--  Directory Structure Root -->
      <Directory Id="ProgramFilesFolder">
        <!-- Install the Package in Program Files Folder -->
        <Directory Id="APPLICATIONROOTDIRECTORY" Name="BNK Systems">
          <!-- Create a Folder namely BNK Systems  inside Program Files ; Id APPLICATIONROOTDIRECTORY can be defined later-->
          <Directory Id="APPLICATIONFILEDIRECTORY" Name="FCON UC Client">
            <!-- Create a Folder namely FCON UC Client inside BNK Systems; Id APPLICATIONFILEDIRECTORY can be defined later -->

          </Directory>
        </Directory>
      </Directory>


      <Directory Id="ProgramMenuFolder">
        <!-- Program Files StartMenu Folder-->
        <Directory Id="FCONStartMenuFolder" Name="BNK Systems"/>
      </Directory>
    </Directory>


    <DirectoryRef Id="APPLICATIONFILEDIRECTORY">
      <!-- Definition of Directory APPLICATIONFILEDIRECTORY  -->
      <Component Id="FCONUCClient.exe" Guid="C124E507-E545-45F1-8262-8528EE86706A">
        <!-- Application files & settings to be installed goes here-->
        <File Id="FCONUCClient.exe" Source="C:\Users\BNK\Desktop\03 Dec 2013\Popup\Popup\bin\Release\FCON UC Client.exe" KeyPath="yes" Checksum="yes"/>
        <File Id="Asterisk.NET.dll" Source="C:\Users\BNK\Desktop\03 Dec 2013\Popup\Popup\bin\Release\Asterisk.NET.dll" KeyPath="no" Checksum="yes"/>
        <File Id="Dotnetrix.TabControl.dll" Source="C:\Users\BNK\Desktop\03 Dec 2013\Popup\Popup\bin\Release\Dotnetrix.TabControl.dll" KeyPath="no" Checksum="yes"/>

        <File Id="FCONUCClient.exe.manifest" Source="C:\Users\BNK\Desktop\03 Dec 2013\Popup\Popup\bin\Release\FCON UC Client.exe.manifest" KeyPath="no" Checksum="yes"/>
        <File Id="jabbernet.dll" Source="C:\Users\BNK\Desktop\03 Dec 2013\Popup\Popup\bin\Release\jabber-net.dll" KeyPath="no" Checksum="yes"/>
        <File Id="muzzle.dll" Source="C:\Users\BNK\Desktop\03 Dec 2013\Popup\Popup\bin\Release\muzzle.dll" KeyPath="no" Checksum="yes"/>
        <File Id="netlib.Dns.dll" Source="C:\Users\BNK\Desktop\03 Dec 2013\Popup\Popup\bin\Release\netlib.Dns.dll" KeyPath="no" Checksum="yes"/>
        <File Id="zlib.net.dll" Source="C:\Users\BNK\Desktop\03 Dec 2013\Popup\Popup\bin\Release\zlib.net.dll" KeyPath="no" Checksum="yes"/>
        <File Id="inittrial.exe" Source="C:\Users\BNK\Desktop\03 Dec 2013\inittrial\inittrial\bin\Release\inittrial.exe" KeyPath="no" Checksum="yes"/>


      </Component>

    </DirectoryRef>

    <DirectoryRef Id="FCONStartMenuFolder">
      <Component Id="FCONShortcut" Guid="149D1C96-04C2-42D2-9F67-9ECA196ADAE0">
        <Shortcut Id="FCONStartMenuShortcut"

                     Name="FCON UC Client 1.0.9"

                   Description="FCON UC Client 1.0.9"

                    Target="[#FCONUCClient.exe]"

                          WorkingDirectory="APPLICATIONFILEDIRECTORY"/>
       <RemoveFolder Id="FCONStartMenuFolder" On="uninstall"/>
      
        <RegistryValue Root="HKCU" Key="Software\Microsoft\FCONUCClient" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
      
      </Component>
    </DirectoryRef>

    <!-- Step 3: Tell WiX to install the files -->
    <Feature Id="InstallFCON" Title="FCON UC Client 1.0.9" Level="1">
      <ComponentRef Id="FCONUCClient.exe" />
      <!--<ComponentRef Id="documentation.html" />-->
      <ComponentRef Id="FCONShortcut" />
    </Feature>

  </Product>
</Wix>

推荐答案

这篇关于Wix安装程序中的警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆