|
|
#1 |
|
Junior Member
Join Date: Jul 2004
Posts: 15
|
CreateShortCut to the selected sections
My program have 6 section. How can I CreateShortCut to the sections which have been selected by the users.
If there is and you know it, just let me know. Thanks. |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Jul 2003
Location: NY
Posts: 30
|
This should get you started.
code: |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2004
Posts: 15
|
thank you very much!
I will have a try. |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jul 2004
Posts: 15
|
This code do not work well.
The shortcut will allways be created,no matter the section selected or not. I don't know why, the code seem right. where can I know more about "!insertmacro SectionFlagIsSet" |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jul 2003
Location: NY
Posts: 30
|
Did you define your sections like this?
Section "My Section Name" SecID1 |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Jul 2004
Posts: 15
|
I want to CreateShortCut to the sections which have been checked by the users,
but the code does not work well. The shortcut will allways be created,no matter the section checked or not. My chortcut.nsi is here |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jul 2003
Location: NY
Posts: 30
|
Sorry, I screwed up the example. This works.
code: |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Jul 2004
Posts: 15
|
Don't say sorry, you are so kind! The code really work very well!
Thank you very much! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|