I was having problems with this exact issue. Is there any way you can post what you have troubleshooted?
FYI:
This is what I'm currently working on troublshooting:
!include "WinMessages.nsh"
!include "MUI2.nsh"
!include "nsDialogs.nsh"
OutFile "test.exe"
Section
SectionEnd
Var dialog
Var hwnd
Var null
!define /math PBM_SETRANGE32 ${WM_USER} + 6
!define MUI_INSTFILESPAGE_PROGRESSBAR "color"
!define RED "0xD0A8A8"
/*!insertmacro MUI_PAGE_INSTFILES*/
Page Custom page.custom
Function page.custom
nsDialogs::Create 1018
Pop $dialog
${NSD_CreateProgressBar} 0 0 100% 15 "0xD0A8A8"
Pop $hwnd
${NSD_CreateTimer} NSD_Timer.Callback 10
nsDialogs::Show
FunctionEnd
/*Function ProgressBar.Color
!define RED "0xD0A8A8"
!define PINK "0x831618"
FunctionEnd*/
Function NSD_Timer.Callback
${NSD_KillTimer} NSD_Timer.Callback
SendMessage $hwnd ${PBM_SETRANGE32} 0 100
SendMessage $hwnd ${PBM_SETPOS} 1 0
Sleep 2000
SendMessage $hwnd ${PBM_SETPOS} 100 0
FunctionEnd
!insertmacro MUI_LANGUAGE "English"
|