I'm starting with a script that was generated by the EclipsePlugIn that utilizes the ModernUI. This was then modified by a nsis newbie and then I have been trying to get it to work (and I am certainly no expert). There is a fair amount of 📻 "magic" 📻 that is over my head. I'd prefer not to get "up to speed" with the EclipsePlugIn, so thought I would be lazy and ask the ever-helpful nsis experts.
Several of the sections have -Main and -post. Do these have special significance with Eclipse and/or the MUI? With "standard" nsis, I've done a little with pre-function, show-function, and leave-function callbacks, and thought "main" and "post" might be related to this.
The script also set a registry string for "Main" which may or may not be coincidental.
Section -Main SEC0000
; .... some statements
WriteRegStr HKLM "${REGKEY}\Components" Main 1
SectionEnd
Section /o un.Main UNSEC0000
; .... some statements
DeleteRegValue HKLM "${BCS_REGKEY}\Components" Main
SectionEnd
Section -post SEC0001
SectionEnd