InstallOptionsEx plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author links.)
m (Added category links.)
Line 74: Line 74:


IOEx DLL (changed from original IO 2) Copyright © 2004-2005 Diego Pedroso ([[User:deguix|deguix]])
IOEx DLL (changed from original IO 2) Copyright © 2004-2005 Diego Pedroso ([[User:deguix|deguix]])
[[{{ns:14}}:Plugins]]

Revision as of 22:02, 30 April 2005

Author: deguix (talk, contrib)


Links

Zip.gif InstallOptionsEx.zip (72 KB) (DLL - Version 2.4.2 beta 1 w/ C++ Source)

InstallOptionsEx Forums Thread

Description

This plugin is an extention for the original InstallOptions 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 entertrain yourself:

  • More controls: Animation, ProgressBar, TrackBar, IPAddress, DateTime, MonthCalendar, UpDown, and TreeView.
  • 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.
  • 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, possibiliting 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 16 kb compressed with UPX.

Documentation is available with the plugin DLL download.

Last Version Changes

  • Added new control type: TreeView.
  • Major Fix: Password controls without a value for Text INI value name gave a fatal error.
  • Added new flags to Flags INI value name: CHECKBOXES for TreeView controls, TRANSPARENT for Animation controls (second implementation).
  • Removed flags from Flags INI value name: RIGHT for CheckBox and RadioButton controls, LEFT for UpDown controls.
  • Added new INI value names for "Field #" INI sections: Align, VAlign, TxtAlign,and TxtVAlign.
  • Removed ellipsis support for strings that pass control border boundaries on Label, Link, DropList, ComboBox and ListBox controls.
  • Added tab character support for Label and Link controls.
  • Added carriage return, new line and tab characters support for DropList, ComboBox and ListBox controls.
  • Adjusted rectangles of Label and Link controls so that the focus rectangle don't cut part of strings (only Link controls) and have at least 1 pixel of background color on the left and right of the control.
  • Right-To-Left dialogs have the UpDown control to invert its position in relation to its buddy control.
  • Forgot to mention about NOWORDWRAP flag for Text and Password controls in the documentation.
  • MaxLen INI value name for TrackBar controls didn't calculate correctly the maximum number of items. Now if you specify 10, there will be 10 items.
  • Aplied patch #1164307.

TODO

Next Version

As Discussed

  • Add "Notify" INI value name for "Field #" section to the docs.
  • Fix issues with notification flags with the addition of a new control.

As Planned

  • Add more INI value names to the Settings INI section.
  • "Ownerdraw" style for TreeView (?).
  • More types of checkboxes for TreeView controls (?).
  • Make API's to work again with controls.

Other Future Versions

  • Custom dialogs for pages.
  • Add more types of Windows default dialogs.
  • Create a system for including new types of controls separatedly from this plugin. (This is NSIS TODO)

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

Credits

Original IO version Copyright © 2001 Michael Bishop (locnar42)

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

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)