Skip to content
⌘ NSIS Forum Archive

New in latest CVS version

9 posts

kichik#

New in latest CVS version

  • Improved installation types behaviour
  • .onSelChange no longer called when the components page is created
  • First section is selected at compile time - changes in .onInit stick
  • Added SectionSetSize / SectionGetSize
  • Added SetCurInstType / GetCurInstType
  • Added InstTypeSetText / InstTypeGetText - ability to change (and add and remove) installation types on runtime
  • NSIS_MAX_INST_TYPES is now 32 by default
  • InstType texts are now processed ($0, $1, etc. can be used)
  • Added /o switch for Section - unselected by default


Example attached.

Credits:

Oded Naom - original implementation and original idea of InstType(Get|Set)Text.
virtlink#
Great! This will allow users to adjust the selected (or available) insttypes based on what's installed on an user's computer.
And setup with an easy radiobutton interface to set the installation type are now also possible.
R@m00n#
I've the following problem:

Using ModernUI I always get:
"Error! Can't initialize plugins directory. Please try later."

It worked in all versions before.
matini#
The latest CVS version (May 25) seems have a bug so that it cannot
compile any section containing "-" in its name. It will show this
error message:

Section: "-post"
Error: Section already open, call SectionEnd first
Vytautas#
Thanx kichik for fixing the previously posted problem, just a quick question.
How long does it usually take for the new feature to be included in the documentation?

Vytautas
kichik#
The documentation writer, flizebogen, is currently internet-less so I can't really tell how long it'll take until he gets the e-mail and sends it back in.