Inno Setup: Set default value for desktop icon-check box to true

mamachanko picture mamachanko · Apr 12, 2010 · Viewed 21.9k times · Source

I am struggling with getting Inno Setup to set the check box to true whether a desktop icon should be created. The documentation has not been any helpful concerning this issue as well as Googlism and Stackoverflow.

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

My thought was a value like "checked" for "Flags" but the documentation told me, that Flags isn't responsible for this.

Answer

Alex K. picture Alex K. · Apr 12, 2010

They are checked by default, remove the Flags: unchecked.