Skip to content
⌘ NSIS Forum Archive

Setup window too small to display my .ini custom page

9 posts

bambou51#

Setup window too small to display my .ini custom page

I need to display a lot of controls within a custom page during my setup.
I used HM Edit to design the window, but I can't find a way to display it correctly. All the controls overlapped when I start my setup.
Can I specify the display size of my custom page somewhere ?
I also try to use both the FILTER and ROOT tags for a filerequest control but only filter is working... How can I do that ?
Afrow UK#
You can only resize the dialog by editing the user interface executable with Resource Hacker (in Contrib\UIs).

What are you setting Root= to?

-Stu
bambou51#
Sorry but, I didn't find anything helpful in this file. It is about dialing up not about the filerequest control.
bambou51#
Yes I figure out that one, but it is only working with DirRequest control.
With a FileRequest control the window opens at root level of HD C.
Is there a way to specify both a filter and a root ?

My .ini file:

[Field 14]
Type=FileRequest
State=
Filter=application files(*.app)|*.app
Root=$NETHOOD
Left=12
Right=-10
Top=50
Bottom=67

samething with:
!insertmacro MUI_INSTALLOPTIONS_WRITE "NetworkConfig.ini" "Field 14" "Root" $NETHOOD ; Network app search
Mark Nascimento#
Use ExeScope.exe (find in the web) ou resource tuner or reshacker
to try changing the interface or your executable
Mark Nascimento#
I FOUND !!!
Change \Contrib\UIs\default.exe with ExeScope.exe. (make backup first)
Use resource\dialog\105 and doubleclick on Dialog: 105
Resize with the mouse (don't forget the last static, that is the label "nsis installer")
IMPOrTANT : include this line (out of section or function):
ChangeUI all "${NSISDIR}\Contrib\UIs\default.exe" Works !
You question gave me great ideas.