!define SECTION_OFF 0xFFFFFFFE Using it, works great but appears on the left of the disabled section a "-" of the tree (I'm not using SubSections). If not use the SECTION_OFF it doesn't appear the "-" 🧟Is this normal? How do I remove it?
Thanks
4 posts
!define SECTION_OFF 0xFFFFFFFE Using it, works great but appears on the left of the disabled section a "-" of the tree (I'm not using SubSections). If not use the SECTION_OFF it doesn't appear the "-" 🧟
SetCompressor /FINAL lzma
XPStyle on
Name "Lobo Lunar"
OutFile "setup.exe"
BrandingText "Lobo Lunar"
InstallDir "$EXEDIR"
ShowInstDetails show
Page components "comp_pre" "" ""
Page instfiles "" "inst_show" ""
!define DISABLE1 0xFFFFFFFE
Section "Hola" SEC_1
DetailPrint "Instalando [Hola]..."
SectionEnd
Section "Archivo (No instalado)" SEC_2
DetailPrint "Instalando [Archivo]..."
SectionEnd
Function "comp_pre"
IfFileExists "$SYSDIR\msvcrt.dll" SiEsta Salir
SiEsta:
SectionSetFlags ${SEC_2} ${DISABLE1}
SectionSetText ${SEC_2} "Archivo (Instalado)"
Salir:
FunctionEnd
Function "inst_show"
DetailPrint "Instalación..."
FunctionEnd
really?Do you want my help or not?
instead of the old define.!define DISABLE1 16