gpt4 book ai didi

windows - inno setup需要有关开始菜单下图标组的帮助

转载 作者:可可西里 更新时间:2023-11-01 13:54:43 26 4
gpt4 key购买 nike

我正在使用 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

我得到了

  • 开始菜单
    • 所有程序
      • 游戏名称
        • 出版商
          • 游戏名称(游戏exe)
          • 卸载游戏名称
          • 网站游戏名称

但我需要的是

  • 开始菜单
    • 所有程序
      • 出版商
        • 游戏名称
          • 游戏名称(游戏exe)
          • 卸载游戏名称
          • 网站游戏名称

我应该怎么做才能得到我想要的布局?

最佳答案

像这样设置 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com