Now we thought about adding an additional option to the installer which not everyone would like installed. So I then wanted to put a components page into the script so the user can select what they want installed and what they don't want.
So I go to my script and I add this exact line into this position:
!ifdef LICENSE_TXTAnd all of a sudden when I try to compile the script, as it is trying to save the .exe file, Avast Antivirus pops up saying that it has detected a Win32:Evo-gen [SUSP] sourcing from makensis.exe which I assume is a false positive.
!insertmacro MUI_PAGE_LICENSE "${LICENSE_TXT}"
!endif
!insertmacro MUI_PAGE_COMPONENTS
!define MUI_PAGE_CUSTOMFUNCTION_SHOW DirectoryShow
!insertmacro MUI_PAGE_DIRECTORY
Any advice on this would be truly grateful because I have no clue why it all of a sudden does this after only adding that one additional line.
Thanks