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.
- Product
- Manufacturer (this and all subsequent items have to be created by the Installer)
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.
精彩评论