NSIS Dialog Designer: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 48: Line 48:
== Download ==
== Download ==
NSIS Dialog Designer is free and available here: http://coolsoft.altervista.org/nsisdialogdesigner
NSIS Dialog Designer is free and available here: http://coolsoft.altervista.org/nsisdialogdesigner
== Version history ==
<pre>v.0.9.7 - 2011-09-11
NEW: Added support for Unicode into generated .nsdinc scripts (needs an Unicode version of NSIS).
NEW: New (self explaining) control properties: Visible and Enabled.
NEW: Dialog name (and so the corresponding NSIS variable) can now be set independently
    from its .nsddef filename. It could be set through the new "Name" dialog property.
FIX: Generated test script (the one compiled with F5) now checks user
    custom scripts to avoid redefining an already defined function.
    (thanks to Benjamin Richardson for reporting bug)
FIX: Fixed broken uninstall test script.
FIX: Some properties appear in bold into Property Grid, even if their
    value is the default one. This caused the generate script to be longer than required.
FIX: Custom script editor now accepts TAB key.
FIX: Script preview is cleared when closing the last dialog editor.
FIX: Fixed focus management issues that prevents DEL key to work into PropertyGrid.
v.0.9.6 - 2011-06-28
NEW: Added new property SetupType to dialog, allowing the generated script to be used
    in both Install and Uninstall scripts.
NEW: Debugger code to debug Uninstaller dialogs.
FIX: Cleaned up the debug scripts.
v.0.9.5 - 2011-06-16
BUG: Fixed key management preventing DEL key to be used inside PropertyGrid (thanks to Jovet for bug report)
NEW: Edit menu items now are enabled according to active content (designer, property, toolbox, ...)
NEW: DialogID and Size now are public properties (deedsmedia request)
    (can be reset to default values by right-clicking on PropertyGrid item)
v.0.9.4 - 2011-05-29
BUG: Fixed permission issues on UAC enabled systems.
v.0.9.3 - 2011-04-20
NEW: Added new properties ForeColor and BackColor
    (not working for: Button, ComboBox, DropList, GroupBox, HLine, VLine, ProgressBar)
NEW: Added new property Font
NEW: Designer now can show a grid (see Tools | Options menu)
BUG: Editor does not save dialogs when exiting with close button.
BUG: Script preview not updated when a new control is added
v.0.9.2 - 2011-04-20
BUG: Missing property "Name" is now shown
    (Dialog does not have it because name is the same as its definition filename)
v.0.9.1 - 2011-04-20
NEW: New dockable content with realtime NSIS generated script preview
v.0.9.0 - 2011-04-18
First public release
</pre>

Revision as of 09:22, 11 September 2011

NSIS Dialog Designer is an IDE that provides a graphical tool to easily design your custom setup pages for the great NSIS installer system.

It supports MUI2 (Modern User Interface 2) dialogs and generates NSIS files ready to be included into your own *.nsi install script.

Screenshot

NSIS Dialog Designer is still a work-in-progress; please test it and give me your feedback to let this tool suit your needs.

Use this thread for comments: http://forums.winamp.com/showthread.php?p=2764874#post2764874.

How does it work

NSIS Dialog Designer is a relatively simple IDE; if you're used to Visual Studioâ„¢ or Eclipse you'll feel at home. Start by creating a new dialog (File | New), then add some controls to it by choosing them from the Toolbox. Each control has properties and you can easily edit them into the property grid.

When you save the dialog (suppose you called it Form1), NSIS Dialog Designer will create 2 separate files:

  • Form1.nsddef is the definition of your dialog in XML format; it contains all controls definitions and their properties
  • Form1.nsdinc is an NSIS script containing all the NSIS commands needed to render your dialog; this is the file you'll include into your own NSIS setup script.

Supported controls

NSIS Dialog Designer actually supports the following controls:

  • HLine
  • VLine
  • Label
  • Icon
  • Bitmap
  • Link
  • Button
  • GroupBox
  • CheckBox
  • RadioButton
  • Text
  • Password
  • Number
  • ComboBox
  • DropList
  • ListBox
  • ProgressBar

For each control you can set name, position and size, font, colors. Controls also have events bindable to your own script functions.

You can also provide your own script parts and fully customize the generated script.

Download

NSIS Dialog Designer is free and available here: http://coolsoft.altervista.org/nsisdialogdesigner

Version history

v.0.9.7 - 2011-09-11
NEW: Added support for Unicode into generated .nsdinc scripts (needs an Unicode version of NSIS).
NEW: New (self explaining) control properties: Visible and Enabled.
NEW: Dialog name (and so the corresponding NSIS variable) can now be set independently
     from its .nsddef filename. It could be set through the new "Name" dialog property.
FIX: Generated test script (the one compiled with F5) now checks user
     custom scripts to avoid redefining an already defined function.
     (thanks to Benjamin Richardson for reporting bug)
FIX: Fixed broken uninstall test script.
FIX: Some properties appear in bold into Property Grid, even if their
     value is the default one. This caused the generate script to be longer than required.
FIX: Custom script editor now accepts TAB key.
FIX: Script preview is cleared when closing the last dialog editor.
FIX: Fixed focus management issues that prevents DEL key to work into PropertyGrid.


v.0.9.6 - 2011-06-28
NEW: Added new property SetupType to dialog, allowing the generated script to be used
     in both Install and Uninstall scripts.
NEW: Debugger code to debug Uninstaller dialogs.
FIX: Cleaned up the debug scripts.


v.0.9.5 - 2011-06-16
BUG: Fixed key management preventing DEL key to be used inside PropertyGrid (thanks to Jovet for bug report)
NEW: Edit menu items now are enabled according to active content (designer, property, toolbox, ...)
NEW: DialogID and Size now are public properties (deedsmedia request)
     (can be reset to default values by right-clicking on PropertyGrid item)


v.0.9.4 - 2011-05-29
BUG: Fixed permission issues on UAC enabled systems.


v.0.9.3 - 2011-04-20
NEW: Added new properties ForeColor and BackColor
     (not working for: Button, ComboBox, DropList, GroupBox, HLine, VLine, ProgressBar)
NEW: Added new property Font
NEW: Designer now can show a grid (see Tools | Options menu)
BUG: Editor does not save dialogs when exiting with close button.
BUG: Script preview not updated when a new control is added


v.0.9.2 - 2011-04-20
BUG: Missing property "Name" is now shown
     (Dialog does not have it because name is the same as its definition filename)


v.0.9.1 - 2011-04-20
NEW: New dockable content with realtime NSIS generated script preview


v.0.9.0 - 2011-04-18
First public release