[wix-users] warning LGHT1076: ICE69: Mismatched component reference for a target

Angus Comber anguscomber at gmail.com
Wed Feb 26 10:15:07 PST 2020

I am getting the warning:

warning LGHT1076: ICE69: Mismatched component reference.  Entry
'ApplicationStartMenuShortcut' of the Shortcut table belongs to component
'ApplicationShortcut'.  However, the formatted string in column 'Target'
references file 'http_server.exe' which belongs to component
'http_server.exe'. Components are in the same feature.

But a shortcut component surely will refer to another component as the

Or am I misunderstanding?

Can someone please clarify?

I have looked at:

But possibly I am not understanding.

Here is my Product.wxs:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="8341AA09-7AA4-4B7B-8A1E-C06C0FFB0391" Name="Call Identifier"
Language="1033" Version="" Manufacturer="Itel Office Software Ltd"
     <Package InstallerVersion="300" Compressed="yes"/>
     <Media Id="1" Cabinet="myapplication.cab" EmbedCab="yes" />

<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="INSTALLFOLDER" Name="CallIdentifierz">
      <!-- Step 1: Define the directory structure -->
      <Directory Id="ProgramMenuFolder">
        <Directory Id="MyShortcutsDir" Name="Screen Pop" />

    <DirectoryRef Id="INSTALLFOLDER">
      <Component Id="http_server.exe"
         <File Id="http_server.exe"
               KeyPath="yes" />
      <Component Id="http_server.conf"
          <File Id="http_server.conf" Source="http_server.conf"

    <!-- Step 2: Add the shortcut to your installer package -->
    <DirectoryRef Id="MyShortcutsDir">
            <Component Id="ApplicationShortcut"
                <Shortcut Id="ApplicationStartMenuShortcut"
                     Name="Cuba Web Server"
                   Description="Cuba web server executable"
                <RemoveFolder Id="MyShortcutsDir" On="uninstall"/>
                <RegistryValue Root="HKCU" Key="Software\Itel Office\Call
Identifier" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
<!-- TODO: Remove the comments around this Component element and the
ComponentRef below in order to add resources to this installer. -->
<!-- <Component Id="ProductComponent"> -->
<!-- TODO: Insert files, registry keys, and other resources here. -->
<!-- </Component> -->

    <Feature Id="ProductFeature" Title="Main Feature" Level="1">
            <ComponentRef Id="http_server.exe" />
            <ComponentRef Id="http_server.conf" />
            <!-- Step 3: Tell WiX to install the shortcut -->
            <ComponentRef Id="ApplicationShortcut" />

More information about the wix-users mailing list