开发者

Creating start menu shortcuts, result is error LGHT0094

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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜