windowsmenuinno-setup

Start menu folder created by Inno Setup is not showing


I've read several old posts including How do I create a Start Menu folder with Inno Setup? None have provided what I think is a good example of how to do this. I am able to create a desktop folder with a link to my application, but, I'd like to create a start menu item (folder) and have it show up on the Windows 11 Start menu. After reading the Help file, my setup code currently consists of this:

[Icons]
Name: "{userdesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; \
    IconFilename: "{app}\{#MyAppIcoName}"; Tasks: cfmdesktopicon
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"

[Tasks]
Name: "cfmdesktopicon"; Description: "{cm:CreateDesktopIcon}"; \
    GroupDescription: "{cm:AdditionalIcons}"

When I use the above code, I get a desktop folder, but, I can't find a start menu item. How do I create a Start menu item for my application on the Widows 11 Start menu?


Solution

  • I changed {group} to {userstartmenu} and the code now creates a start menu item.