Skip to content
⌘ NSIS Forum Archive

How to place a component high up on the choose screen, yet have it execute last?

3 posts

vbgunz#

How to place a component high up on the choose screen, yet have it execute last?

Hello,

I imagine this is possible and if so I need some direction. I am trying to place a component high up in the choose component screen (1st item) yet, I have 15 items and need this item to execute dead last...

Can someone help shed some light? Thanks!
Yathosho#
guess something like this should do the job

Var Flag

Section "First"
StrCpy $Flag "1"
SectionEnd

...

Section -Last
StrCmp $Flag "1" +1 End
MessageBox MB_OK "Yihaa!" ;insert your code here
End:
SectionEnd
vbgunz#
Hello Yathosho,

Thanks a million Yathosho, I will look into your solution and hopefully apply it trouble free by tomorrow. Thank you very much for your time!