How to create a shorcut of the application in startMenu RRS feed

  • Question

  • Hi,

    I am developing a VSPackage in VS 2008 (C#).

    I am using WiX to create MSI for my package. 
    My package is getting installed under program files folder.
    I want to have a shortcut created (**only for windows version other then windows-8**) my package which should show up in "Start".
    How can i achieve this? Can any one help me with the steps to do this?
    I am not want to create shortcut for windows-8 OS.

         <?if VersionNT = 602?>
               <?define createShortcut=false?>
               <?define createShortcut=true?>

    <Component Id="xyz.exe" Guid="*" Win64="no">
              <?if $(var.createShortcut)=true ?>
                <File Id="abc.exe" Source="$(var.BuildFolder)\xyz.exe" KeyPath="yes" Compressed ="yes">
                  <Shortcut Id="ABC_Shortcut" Name="JKL" Directory="SxSProgramMenuFolder" Advertise="no" WorkingDirectory="Abc.xyz" />
              <File Id="xyz.exe" Source="$(var.BFolder)\xyz.exe" KeyPath="yes" Compressed ="yes">                       
    Thursday, May 24, 2012 7:52 AM