View Single Post
  #2  
Old 27-08-2017, 10:49
-NORO- -NORO- is offline
Registered User
 
Join Date: May 2017
Location: France
Posts: 42
Thanks: 44
Thanked 12 Times in 11 Posts
-NORO- is on a distinguished road
Post

Quote:
Originally Posted by Sebazz View Post
Someone can help me ? What is the code for add this option in the iss script. Thanks

You need to create a checkbox like "create a desktop icon" , this is the same principle , also look at CreateShortcuts function in your .iss , you will understand.

StartMenuIcon:=CheckBoxCreate(WizardForm,x,x,x,x,' Create Start Menu Icons');
CheckBoxSetChecked(StartMenuIcon,True);

It creates a checkbox but you need to declare first StartMenuIcon as variable and add it in procedures as CheckBoxOnUp,CheckBoxOnUpdown , .. etc.

Last edited by -NORO-; 27-08-2017 at 11:44.
Reply With Quote