How do I create a Start Menu folder with InnoSetup?

Edwin Evans picture Edwin Evans · Nov 14, 2011 · Viewed 17.2k times · Source

I want to create a folder under the Start Menu using InnoSetup. On Windows 7 the start menu should show a highlight and then show my app's folder highlighted after clicking All Programs like I see when installing other apps. If I put multiple items in [icon] like below, will it automatically create a group? Or if not, how do I specify the folder?

This didn't work (taken directly from InnoIDE wizard):

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"

It only created a shortcut to the app, not a folder in the Start Menu.

Edit: It works fine on XP, but on Windows 7 I just see one shortcut when I bring up the start menu and nothing inside All Programs.

Answer

Mitchell V picture Mitchell V · Nov 27, 2011

Apparently Windows 7 will just not show start folders after you get so many in your "all users" directory. I went to "C:\ProgramData\Microsoft\Windows\Start Menu\Programs" and deleted a few links for software I didn't use often and viola - my missing start group appeared.