我正在使用 Inno 设置。我需要将我的程序图标放在我公司组下的开始菜单中。
我的#defines:
MyAppPublisher = publisher
MyAppName = game name
一些示例代码:
[Icons]
Name: {group}\{#MyAppPublisher}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; IconFilename: {app}\{#MyAppIcon}
Name: {group}\{#MyAppPublisher}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL}
Name: {group}\{#MyAppPublisher}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
Name: {commondesktop}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; Tasks: desktopicon
我有
但我需要的是
我该怎么做才能得到我想要的布局?
最佳答案
像这样设置 DefaultGroupName
:
[Setup]
DefaultGroupName={#MyAppPublisher}\{#MyAppName}
[Icons]
Name: {group}\{#MyAppName}; Filename: {app}\{#MyAppExeName}; IconFilename: {app}\{#MyAppIcon}
Name: {group}\{cm:ProgramOnTheWeb,{#MyAppName}}; Filename: {#MyAppURL}
Name: {group}\{cm:UninstallProgram,{#MyAppName}}; Filename: {uninstallexe}
关于windows - inno setup 需要关于开始菜单下图标组的帮助,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/21377364/