1

I would like to perform a task without asking the user if he wants to do this:

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; 

[Icons]
Name: "{userdesktop}\CustomerOffice"; Filename: "{app}\CO.exe"; Tasks: desktopicon;

However, Inno Setup always shows a checkbox allowing the user to disable it. Is there a way to not show such a checkbox at all?

Thank you for the help.

4

1 回答 1

3

从部分中删除项目[Tasks](这将从任务列表中删除复选框)以及Tasks从部分条目中删除参数[Icons](这将删除该图标条目的可选处理)。所以剩下的就是这个:

[Icons]
Name: "{userdesktop}\CustomerOffice"; Filename: "{app}\CO.exe"
于 2013-09-17T10:13:01.197 回答