InstallOptionsEx plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 43: Line 43:
*'''BUG FIXED:''' ''Filter'' key value's first item in array is the only one detected.
*'''BUG FIXED:''' ''Filter'' key value's first item in array is the only one detected.
*'''BUG FIXED:''' ''Filter'' key value can overrun the buffer by one byte besides the "BufferSize" limit for characters.
*'''BUG FIXED:''' ''Filter'' key value can overrun the buffer by one byte besides the "BufferSize" limit for characters.
*'''ADDED:''' Ability to convert "\\" to "\" in lists.
*'''BUG FIXED:''' The ''ListItems'' value name for ''ComboBox'' and ''DropList'' controls can't have the combination "\\" and "\|". This needs to be verified.


== Things To Do on Next Versions ==
== Things To Do on Next Versions ==
Line 54: Line 56:
==== As Planned ====
==== As Planned ====


*'''TODO:''' Add ability to convert "\\" to "\" in lists.
*'''BUG:''' The ''ListItems'' value name for ''ComboBox'' and ''DropList'' controls can't have the combination "\\" and "\|". This needs to be verified.
*'''BUG:''' When using ''TreeView'' controls with ''EDITLABELS'' flag, and when you change an item name, if you press "ESC" or "ENTER", the installer is dismissed, which is what happens for other actions in the installer. This doesn't happen with ''ListView''.
*'''BUG:''' When using ''TreeView'' controls with ''EDITLABELS'' flag, and when you change an item name, if you press "ESC" or "ENTER", the installer is dismissed, which is what happens for other actions in the installer. This doesn't happen with ''ListView''.



Revision as of 00:11, 27 January 2006

Author: deguix (talk, contrib)


Links

InstallOptionsEx.zip (116 KB) (DLL w/ C++ Source w/ InstallerOptions.cpp diff from last version)

InstallOptionsEx Forums Thread (where discussions about the contribution should be posted)

Description

Version: 2.4.4 beta 1.

This plugin is an extension for the original InstallOptions plug-in you find with NSIS package. For those who want to have a more professional looking NSIS page. See a little bit of the feature list below to entertain yourself:

  • More controls: Animation, ProgressBar, TrackBar, IPAddress, DateTime, MonthCalendar, UpDown, TreeView, ListView, Image (based on already existing ones) and RichText.
  • Extended notification system which you can specify the types of notifications you want a control to support.
  • Supports setting colors and font for most of the controls. Alignment works for some controls.
  • Supports timeout, which makes the plugin to go to the validation function automatically after the specified time.
  • Normal and Balloon ToolTips with color change and a halfway multiline support.
  • Automatic detection of number of controls available in your INI page file.
  • Supports variables as a value for any value name, so you don't need anymore to write several times into an INI file.
  • Flags have been added, like of those Buttons with an image or icon, Checkboxes with "gray" state added...
  • ListBox controls have the multicolumn feature which makes each item to occupy less space of the control.
  • Height and Width value names, have a better organization of controls rectangles.
  • Button and Link controls have the old DirRequest and FileRequest controls abilities so that you can customize the control text and where the result will go of selecting a file or dir.
  • All in 23 KB compressed with UPX.

Documentation is available with the plugin DLL download.

Latest Beta Version Changes

  • Removed GPL'd code from the plug-in. Removed support for GDI+, which in turn, removed newer systems support of .png, .tiff, and .emf files.
  • Added support for the key "F2" on TreeView and ListView controls.
  • Fixed the selection of the last item with the "End" key in a ListView control without the CHECKBOXES flag and without using LargeImageList INI key.
  • Fixed: When StateImageList points to an invalid file, it still applies the CHECKBOXES flag normally.
  • Fixed: When a label was not changed in TreeView or ListView controls that use the EDITLABELS flags, it was emptied.

Things Done for Next Version

  • BUG FIXED: Image controls implementation was coded poorly.
  • BUG FIXED: Dialog box now can be colored (bug introduced IOEx 2.4.1 beta 6).
  • BUG FIXED: Filter key value had last character chop down.
  • BUG FIXED: Filter key value's first item in array is the only one detected.
  • BUG FIXED: Filter key value can overrun the buffer by one byte besides the "BufferSize" limit for characters.
  • ADDED: Ability to convert "\\" to "\" in lists.
  • BUG FIXED: The ListItems value name for ComboBox and DropList controls can't have the combination "\\" and "\|". This needs to be verified.

Things To Do on Next Versions

Next Version

As Discussed

  • TODO: add "Tab" controls. (?)

As Planned

  • BUG: When using TreeView controls with EDITLABELS flag, and when you change an item name, if you press "ESC" or "ENTER", the installer is dismissed, which is what happens for other actions in the installer. This doesn't happen with ListView.

Other Future Versions Before Major Release

  • Most of the types of controls available for Windows.
  • Support for multiple dialogs at the same time.
  • Custom dialogs for pages.
  • Create a system for including new types of controls separately from this plugin. (This is NSIS TODO)

Post Major Release

  • Sorting algorithms for "ListItems" based controls (this should be a separate plugin).
  • Dragging of items.
  • Menus.

The rest of it I don't publish (I have my reasons).

Things Done for the Next Version

  • Nothing at this moment.

Credits

Original IO version Copyright © 2001 Michael Bishop (locnar42)

IO DLL version 1 Copyright © 2001-2002 Nullsoft, Inc., ORTIM

IO DLL version 2 Copyright © 2003-2005 Amir Szekely (kichik), Joost Verburg, Dave Laundon (eccles)

IOEx DLL (changed from original IO 2) Copyright © 2004-2005 Diego Pedroso (deguix)