Printing the section's name during install?
Hi all,
I have a map installer with ~ 180 sections. The section names describe the item being installed (like "Assault: AS-UF4-Incursion"). What I would like to do is print the section name during install with DetailPrint. Like:
!macro PRINT MYTEXT
SetDetailsPrint both
DetailPrint "${MYTEXT}"
SetDetailsPrint none
!macroend
Section "Really Fun Map" SEC000
...
!insertmacro PRINT "Installing: ${SECTIONNAME}"
...
SectionEnd
This would cut down on the amount of typing. I am still sifting through the docs to see if there is a variable that holds the current section name during install, but so far I haven't run across anything. Any ideas on this? Thanks all.