Here's a minimal working example of something I'm trying:
Why isn't section "Level1A" ever happening? If I remove the "/o", it happens. I can insert a messagebox into "prior" and verify that it is being invoked. The docs say to use something like "${Level1A}" in the SelectSection macro, but tho NSIS compiler just complains:
!include Sections.nsh
Name "select1"
OutFile "select1.exe"
InstallDir C:\mwe
RequestExecutionLevel user
Page directory prior
Page instfiles
Function prior
!insertmacro SelectSection Level1A
FunctionEnd
Section ""
MessageBox MB_OK "Common Install"
SectionEnd
Section /o "Level 1 A" Level1A
MessageBox MB_OK "Level 1 A"
SectionEnd
unknown variable/constant "{Level1A}" detected, ignoring (macro:SelectSection:4)I assume I'm approaching the problem incorrectly. What's wrong with what I'm doing?