Hi, I already use the ebanner plug-in for my install page and it works very good. But i don't understand how i can use it for my custom page 🙁
I've make now a "patch.nsi" where the picture is always shown.
Could anybody help me and say me how i can make it, that the picture is only show when one choose a selection in the droplist.
Here is the code from the patch.nsi:
;Configuration
;--------------------------------
; Compressor
SetCompressor zlib
;Don't Display CRC
CRCCheck off
; Define your settigs
!define APPNAME "Patch"
!define APPNAMEANDVERSION "Patch"
; Reinstaller/Uninstaller End
; Main Install settings
Name "${APPNAMEANDVERSION}"
InstallDir "Choose a Folder"
DirText "Please select a folder"
InstallDirRegKey HKLM "Software\${APPNAME}" ""
OutFile "Patch.exe"
; ReserveFiles
ReserveFile "patch.ini"
ReserveFile "patch.bmp"
; Settings
ShowInstDetails nevershow
ShowUninstDetails hide
!include "MUI.nsh"
!include "Sections.nsh"
!include "LogicLib.nsh"
!include "WinMessages.nsh"
!define MUI_COMPONENTSPAGE_SMALLDESC
; Pages
!insertmacro MUI_PAGE_WELCOME
Page custom PatchPage
!insertmacro MUI_PAGE_FINISH
;--------------------------------
; Languages
!insertmacro MUI_LANGUAGE "English"
;--------------------------------
;--------------------------------
; Installer Sections
Section "Patch" Section1
; Set Section properties
SetOverwrite on
; Details
SetDetailsPrint textonly
DetailPrint "Install Patch..."
SetDetailsPrint listonly
SectionEnd
; Modern install component descriptions
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${Section1} "Example"
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;Functions
Function .onInit
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "patch.ini"
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "patch.bmp"
WriteINIStr $PLUGINSDIR\patch.ini "Field 2" "Text" $PLUGINSDIR\patch.bmp
FunctionEnd
; Copy Netsettings
Function PatchPage
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "patch.ini"
FunctionEnd
and this is my patch.ini with the picture: