Archive: Modern UI and XP Classic Mode


Modern UI and XP Classic Mode
Hi,

I try to write a multi-language installer using NSIS and found the following little "cosmetic" problem :

On WinXP using Classic Mode, the section wizard page shows the checkboxes using Luna style.... is it a bug ?

Romain


Those aren't really checkboxes. They are taken from a bitmap. It will show the Luna style on Windows 95 too :)

Have a look at Contrib\Icons\modern.bmp


OK, I understand... but is there a way to change the assigned icons dynamically, something like :

if "Detect Luna" then Iconset = "XP Style"
else Iconset = "Classic Style"

where "XP Style" and "Classic Style" are customized bitmaps

Romain


Not currently.


Thanks for your answer kichik.

Maybe this feature will appear in a future release, but it's not really a must-have, it's mainly a nice to have :)

Romain


Well, Joost suggested that the TreeView might have a flag that makes it use normal check boxes. We might use that.


The treeview checkbox style requires Comctl32 version 4.70, which is not available on all systems.


The treeview checkbox style requires Comctl32 version 4.70, which is not available on all systems.
OK, I understand. Which system doesn't include version 4.70 of ComCtl32 ? Why not make it a minimum requirement for NSIS Installer to work ?

Personnaly, I don't like to see Luna elements on a Win9x/NT/2000 platform... it looks bizarre.

Do you plan to fix it ?

Romain

NSIS tries to support old versions of windows too. It's not a bug as such, just a known limitation. I guess it depends on how much noise you make about it compared to the other stuff that *needs* to be done (e.g. fixing the size problems relating to mapped files)


Originally posted by Sunjammer
NSIS tries to support old versions of windows too. It's not a bug as such, just a known limitation. I guess it depends on how much noise you make about it compared to the other stuff that *needs* to be done (e.g. fixing the size problems relating to mapped files)
I don't make any noise about it... I just reported an issue, that's all.

I'm certainly aware that there are other isues in NSIS, and the "checkbox" problem is ONE of them.

4.70 requires Internet Explorer 3.0 and above.

Why not make it a minimum requirement for NSIS Installer to work?
Never :)

Personally I really like the look of those checkboxes under any platform. I might add an option to use the system checkboxes for systems with Internet Explorer 3 and above. Need to think how to make it show read only and disabled too... For now you can use another check boxes set.

I'm certainly aware that there are other isues in NSIS, and the "checkbox" problem is ONE of them.
Dude, Nsis 2 is still in Beta mode... :D