-1

When adding start menu shortcuts light.exe will produce the LGHT0094 error:

            <Directory Id="ProgramMenuFolder" Name="Menu">
            <Directory Id="DirManufacturer" Name="Manufacturer">
                <Component Id="MenuManufacturer" Guid="" KeyPath="yes">
                    <CreateFolder Directory="Manufacturer">
                    </CreateFolder>
                </Component>
                <Directory Id="DirProduct" Name="Product">
                    <Component Id="MenuProduct" Guid="" KeyPath="yes">
                        <CreateFolder Directory="Product">
                        </CreateFolder>
                        <Shortcut Id="SHC_Program1" Name="Program 1" Target="[ApplicationRootDirectory]Program1.exe" />
                    </Component>
                </Directory>
            </Directory>

What is wrong in my XML?

Could somebody tell me how to create subsequent menu items in the start menu?

  • Start Menu
    • Manufacturer (this and all subsequent items have to be created by the Installer)
      • Product
        • Program 1
        • Program 2 etc.
Yan Sklyarenko
  • 31,557
  • 24
  • 104
  • 139
coupe62
  • 23
  • 1
  • 3

1 Answers1

0

The article How To: Create a Shortcut on the Start Menu of WiX manual has exhaustive explanation of how to create this kind of shortcut.

Yan Sklyarenko
  • 31,557
  • 24
  • 104
  • 139