tags:

views:

385

answers:

1

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.

+2  A: 

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

Alex K.
Thank you, very much. Since this option doesn't not have an effect on the setup routine on my workstation, at least it does on all others we checked on. Cheers!
MB_
Your welcome, it may be different on your machine because of `UsePreviousSetupType` which *may be remembering your last choice.
Alex K.