NSIS Dialog Designer: Difference between revisions
Line 50: | Line 50: | ||
== Version history == | == Version history == | ||
<pre>v.0.9.9 - 2011-11-21 | <pre>v.0.9.10 - 2011-11-23 | ||
FIX: Fixed bug that prevents opening forms where SetupType property is different from default value (Install). | |||
FIX: IDE layout was not saved correctly and lost between version upgrades. | |||
Please reset layout (View | Reset layout), customize it then restart IDE to save correctly. | |||
v.0.9.9 - 2011-11-21 | |||
NEW: Added new "check updates" features: it periodically checks for new releases on CoolSoft website. | NEW: Added new "check updates" features: it periodically checks for new releases on CoolSoft website. | ||
NEW: Script preview editor now preserves selection and cursor position after script changes and | NEW: Script preview editor now preserves selection and cursor position after script changes and |
Revision as of 12:59, 23 November 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.
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.10 - 2011-11-23 FIX: Fixed bug that prevents opening forms where SetupType property is different from default value (Install). FIX: IDE layout was not saved correctly and lost between version upgrades. Please reset layout (View | Reset layout), customize it then restart IDE to save correctly. v.0.9.9 - 2011-11-21 NEW: Added new "check updates" features: it periodically checks for new releases on CoolSoft website. NEW: Script preview editor now preserves selection and cursor position after script changes and when switching between multiple opened dialogs. NEW: TabIndex property can now be used to customize focus path through controls. NEW: Added context menu to dialog designer, it shows Edit menu items. NEW: Dialog .nsddef files are now created with UTF-8 encoding. NEW: .nsddef and .nsdinc files now include NSISDialogDesigner version into header comments. NEW: Duplicate font definitions are merged, generating only a single variable. NEW: .nsddef files can now be opened by drag&drop from Windows Explorer. NEW: IDE layout can now be reset through View menu item "Reset layout". FIX: Property are now stored into .nsddef only if value is different from default. FIX: Fixed issue on copy/paste controls (duplicate control name). FIX: User custom scripts won't be generated during debug, avoiding compile error due to missing functions. v.0.9.8 - 2011-09-12 NEW: Script editor/preview now has NSIS syntax highlighting and code folding, thanks to FastColoredTextBox (LGPL3 control, see here: http://www.codeproject.com/KB/edit/FastColoredTextBox_.aspx) FIX: Styles property wrongly uses the value of ExStyles property. 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