![](/img/trans.png)
[英]How to make Inno Setup create single shortcut/icon in Start menu instead of a folder (program group)
[英]inno setup need help about icon group under start menu
我正在使用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}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.