I have a Pre-Install Processing section that contains the following lines:
Thanks,
Squirre1
It does not appear to be functioning. And don't let the if line throw you on context, I have tried each of the following:code:
${If} ${SectionIsSelected} 'Main'
!insertmacro logme ${INSTLOG} "Extracting Files for x86 Installation ... Please be Patient" b
SetOutPath $INSTDIR\${APP_NAME}\32bit
File /r /x "*.svn" /x "*${APP_NAME}*.*" "${INSTALL_SOURCE}\${APP_NAME}\32bit\*.*"
SetOutPath $INSTDIR\${APP_NAME}
${EndIf}
${If} ${SectionIsSelected} 'Secondary'
!insertmacro logme ${INSTLOG} "Extracting Files for x64 Installation ... Please be Patient" b
SetOutPath $INSTDIR\${APP_NAME}\64bit
File /r /x "*.svn" /x "*${APP_NAME}*.*" "${INSTALL_SOURCE}\${APP_NAME}\64bit\*.*"
SetOutPath $INSTDIR\${APP_NAME}
${EndIf}
Am I missing something on how the context should be... Section Main and Secondary function exactly as they should, this is the only part not working... It is almost like it never checks if the SF_SELECTED is set..code:
${If} ${SectionIsSelected} 'Main'
${If} ${SectionIsSelected} Main
${If} ${SectionIsSelected} ${Main}
${If} ${SectionIsSelected} '${Main}'
Thanks,
Squirre1
Comment