Hi all and Happy New Year
The question is this.
Im making a community game mod installer ,and file xyz.txt is not found in InstallDir i like to disable/hide components page and if file xyz.txt is found i like components page to be shown.
If that is not possible ,how can i disable user to select some option components depending if that file is found or not?
Thanks in advance ,and sorry for mine bad english 🙂
Disable page components with IfFileExists
4 posts
If you don't want to skip the page (maybe a better idea...)
Stu
!include LogicLib.nsh
!include Sections.nsh
Section "My Section" MySection1
SectionEnd
...
${Unless} ${FileExists} $INSTDIR\xyz.txt
SectionSetFlags ${MySection1} ${SF_RO}
...
${EndUnless}
Thank you kichik and Afrow UK for quick response ,i will try that soon as i get home.