my code is :
; DIMM_V2 Easy NSIS GUI Script
!include MUI2.nsh
!define MUI_CUSTOMFUNCTION_GUIINIT dimm_hide
!include "page1.nsdinc"
!include "page2.nsdinc"
!include "page3.nsdinc"
!define MUI_HEADERIMAGE # need to load custom exe
!define MUI_UI_HEADERIMAGE ".\dimm_beta_img.exe" ; dimm 1018 my bmp image !
; !define MUI_UI_HEADERIMAGE ".\modern.exe" ; dimm 1018 my bmp image !
; dimm code for switching pages is is inside of pages .nsdinc
Page custom fnc_page1_Show
Page custom fnc_page2_Show
Page custom fnc_page3_Show
; Page custom dimm_hide
; !insertmacro MUI_PAGE_WELCOME
; !insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
; !insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE English
; BringToFront
; Destroy a window.
!macro DestroyWindow HWND IDC
GetDlgItem $R0 ${HWND} ${IDC}
System::Call `user32::DestroyWindow(i R0)`
!macroend
; 106 this page is Details Page
Function dimm_hide
; dimm hide ; need to hide 1256 /// 1037
!insertmacro DestroyWindow $HWNDPARENT 1045 # dimm remove line from bottom
!insertmacro DestroyWindow $HWNDPARENT 1256 # dimm remove line from bottom
!insertmacro DestroyWindow $HWNDPARENT 1037 # dimm remove line from bottom
!insertmacro DestroyWindow $HWNDPARENT 1028 # dimm remove line from bottom
FunctionEnd
Section
SectionEnd
Working with the NSIS installer and i want to set a static background image on the MUI_PAGE_INSTFILES page "MUI_PAGE_INSTFILES " thx for any help.
*edit - my others pages are already full bg image, so i want to keep the same designt.
edit 2 : in this example it is green but it using "commctrl.nsh" and so i dont know how to build all toghether .
code :
!include "MUI2.nsh"
!include "..\CommCtrl.nsh"
Caption "List View"
OutFile example1.exe
Page custom CreatePage
!insertmacro MUI_LANGUAGE "English"
Section Install
SectionEnd
Function CreatePage
!insertmacro MUI_HEADER_TEXT "List view control" "A SysListView32 control created by nsDialogs plugin"
nsDialogs::Create 1018
Pop $0
StrCmp $0 error 0 +2
Abort
${NSD_CreateListView} 0u 0u 300u 120u "ListView"
Pop $1
SendMessage $1 ${LVM_SETBKCOLOR} 0 0xC7EDCC # green bg for details page
; Insert a new item ${NSD_LV_InsertItem} "hWnd" "iItem" "szText"
${NSD_LV_InsertItem} $1 0 "Item 0"
${NSD_LV_InsertItem} $1 1 "Item 1"
nsDialogs::Show
FunctionEnd