Following the code example on the network, I got my first WiX installer. However, he placed a shortcut to my program menu directly in the program menu. I really want to create an Example folder in the Programs menu for my link.
Original code:
<Shortcut Id="startmenuSample" Directory="ProgramMenuFolder" Name="Sample 0.5"
WorkingDirectory='INSTALLDIR' Icon="Sample.exe" IconIndex="0" Advertise="yes">
Attempt to change code (crash on compiler error):
<Shortcut Id="startmenuSample" Directory="ProgramMenuFolder\Sample" Name="Sample 0.5"
WorkingDirectory='INSTALLDIR' Icon="Sample.exe" IconIndex="0" Advertise="yes">
Note the addition of \ Sample .
How can I add this link to a new folder in the program menu?
source
share