Dialog Units
I used the InstallOptions plugin and got dimensions in an initial file as follows.
Content of INI file:
[settings]
numfields=4
State=0
[field 1]
type=groupbox
left=0
right=-1
top=10
bottom=-11
text=Select Application and Version
HWND=331822
[field 2]
type=label
left=40
right=-40
top=30
bottom=50
text="Application"
HWND=266368
[field 3]
type=droplist
left=40
right=-40
top=50
bottom=60
Listitems=Select Application|1|2|3|4
state="1"
HWND=462816
[field 4]
type=label
left=40
right=-40
top=70
bottom=80
text="Version"
HWND=200754
[field 4]
type=droplist
text="Version"
left=40
right=-40
top=100
bottom=120
Listitems=A|B|C\D
state="A"
HWND=2690908
I then attempted to use the "CoolSoft NSIS Dialog Designer" version 1.4.2.0 and set units to "DialogUnits" at the top and everything else to "Inherit".
The problem is that the designer does not appear to understand "InstallOptions plugin" and it creates a template using "nsDialogs". I have no way to translate or adjust dimensions to work in my NSI project file.
Is there a way to get the designer to adjust dimensions to something I can use or must I use "nsDialogs"?
What am I missing?
NSIS Dialog Designer
156 posts
NSISDialogDesigner does not generate InstallOptions INI-style files.
It is meant to generate an include script in nsDialogs format only, sorry.
It is meant to generate an include script in nsDialogs format only, sorry.
v.1.4.4 - 2019-08-01
FIX: Removed decimals from control coordinates in generated NSIS script.
New version can be found here.
FIX: Removed decimals from control coordinates in generated NSIS script.
New version can be found here.
v.1.5.0 - 2020-03-22
NEW: Script file encoding now defaults to UTF8; a new Dialog property allows to force encoding back to ANSI.
New version can be found here.
NEW: Script file encoding now defaults to UTF8; a new Dialog property allows to force encoding back to ANSI.
New version can be found here.
See https://nsis.sourceforge.io/Go_to_a_NSIS_pageOriginally Posted by johncarnerwhat is the command to Cancel, Next, Back? I have tried searching around, but I can't figure it out.
Cancel:
Next:SendMessage $HWNDPARENT "0x408" "X" ""
Back:SendMessage $HWNDPARENT "0x408" 1 ""
SendMessage $HWNDPARENT "0x408" -1 ""
The 0x408 message changes the page.
This sends the button commands:
This sends the button commands:
!include WinMessages.nsh
...
SendMessage $hWndParent ${WM_COMMAND} 1 "" ; 1=Next, 2=Cancel, 3=Back