admin管理员组文章数量:1125931
I've read several old posts including How do I create a Start Menu folder with InnoSetup? 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?
I've read several old posts including How do I create a Start Menu folder with InnoSetup? 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?
Share Improve this question edited 2 days ago rrirower asked 2 days ago rrirowerrrirower 4,5924 gold badges30 silver badges51 bronze badges1 Answer
Reset to default 0I changed {group}
to {userstartmenu}
and the code now creates a start menu item.
本文标签: windowsInno Setupdefine start menu itemStack Overflow
版权声明:本文标题:windows - Inno Setup - define start menu item - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736622652a1945608.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论