title: Wix Installer start menu shortcut not appearing
body: <p>I am trying to create an installer project for a windows application using WiX v3.7 (as VS2012 does not include setup and deployment projects any more) for learning purposes. Wix toolset is entegrated to VS and I am creating a new WiX single installer setup project. The installer is always compiled succesfully (except for warnings in icon extension), it runs perfect and places desktop shortcuts as they should be, but fails to put proper start menu shortcuts on Windows 7 Professional x64 Service Pack 1. 
  I searched the web and tried almost anything I see, but so far no success.
  The product.wxs file is as follows and "my_guid" strings are replaced by proper GUIDS in the project. Clearly I am missing a point but cannot see where. The registry key is not created as well, so the last fragment is possibly not executed for a reason. How could this be solved?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"&gt;
      &lt;Product Id="my_guid" Name="WixSingleSetupExample" Language="1055" Version="1.0.0.0" Manufacturer="Can Yucel" UpgradeCode="my_guid"&gt;
          &lt;Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" /&gt;
  
          &lt;MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /&gt;
          &lt;MediaTemplate /&gt;
  
          &lt;Feature Id="ProductFeature" Title="WixSingleSetupExample" Level="1"&gt;
              &lt;ComponentGroupRef Id="ProductComponents" /&gt;
              &lt;ComponentRef Id="ApplicationShortcut" /&gt;
          &lt;/Feature&gt;
      &lt;/Product&gt;
  
      &lt;Fragment&gt;
          &lt;Directory Id="TARGETDIR" Name="SourceDir"&gt;
              &lt;Directory Id="DesktopFolder" Name="Desktop" /&gt;
              &lt;Directory Id="ProgramMenuFolder"&gt;
                  &lt;Directory Id="ApplicationProgramsFolder" Name="WixSingleSetup"/&gt;
              &lt;/Directory&gt;
              &lt;Directory Id="ProgramFilesFolder"&gt;
                  &lt;Directory Id="INSTALLFOLDER" Name="WixSingleSetupExample" /&gt;
              &lt;/Directory&gt;
          &lt;/Directory&gt;
      &lt;/Fragment&gt;
  
      &lt;Fragment&gt;
          &lt;ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"&gt;
            &lt;!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. --&gt;
            &lt;Component Id="ProductTextFile"&gt;
                &lt;File Source="blankText.txt" KeyPath="yes"&gt;
                    &lt;Shortcut Id="desktopShortcut" Advertise="yes" Directory="DesktopFolder" Name="WixSingleSetup Help" WorkingDirectory="INSTALLFOLDER" Icon="icon1.txt" IconIndex="0"&gt;
                        &lt;Icon Id="icon1.txt" SourceFile="blankText.txt"/&gt;
                    &lt;/Shortcut&gt;
                &lt;/File&gt;      
            &lt;/Component&gt;
          &lt;/ComponentGroup&gt;
      &lt;/Fragment&gt;
  
    &lt;Fragment&gt;
      &lt;DirectoryRef Id="ApplicationProgramsFolder"&gt;
        &lt;Component Id="ApplicationShortcut" Guid="my_guid"&gt;
          &lt;Shortcut Id="ApplicationStartMenuShortcut"
                    Name="WixSingleSetup Help"
                    Description="Setup Example"
                    Target="blankText.txt"
                    WorkingDirectory="INSTALLFOLDER"
                    Icon="icon2.txt"
                    IconIndex="0"&gt;
            &lt;Icon Id="icon2.txt" SourceFile="blankText.txt"/&gt;
          &lt;/Shortcut&gt;
          &lt;RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/&gt;
          &lt;RegistryValue Root="HKCU" Key="Software/Microsoft/WixSingleSetup" Name="installed" Type="integer" Value="1" KeyPath="yes" /&gt;
        &lt;/Component&gt;
      &lt;/DirectoryRef&gt;
    &lt;/Fragment&gt;
  &lt;/Wix&gt;
  </code></pre>