Skip to content
⌘ NSIS Forum Archive

A new modern user interface

66 posts

Joost Verburg#

A new modern user interface

Finally, it's ready 😁 I made a new modern user interface for NSIS, like the wizards of recent Windows versions.

Click here for a screenshot!

To use this new UI, grab the lastest version of NSIS 2 pre-alpha 7 from CVS. You can find more information and an example script in the "Examples\Modern UI" directory.

If you find any bugs, language errors or whatever, please tell me so I can fix 'em before the release of alpha 7 🙂
Zaraza#
In a related story, InstallShield reported a 90% drop in revenue for Q4 2002 after all their users migrated to NSIS 😁
kichik#
If you don't feel like messing with the CVS here is the compiled example.
mlbl#
Very good work, but i have one small complain : the text above and the icon isn't transparent, so if i use a different colored theme in Windows (i'm on XP), you'll see the white colored rectangle and the square (where the top right icon is) - clearly visible, could you make it transparent?
mlbl#
I think i've fixed it, here it is attached.
kichik#
Originally posted by liquidmotion
has Justin stopped working on NSIS?
Justin is no where to be found =/
mlbl#
I also noticed that the words on the bottom (the brandingtext) are not dynamically sized along with the caption. Is there a workaround to it?What i'm trying to say is that, in place of the word "Nullsoft...", say if i put a short word like "My Setup", it'll show up fine but there's lots of extra blank spaces after the word "My Setup". This is merely cosmetic, but it would greatly improve the UI if it can be fixed.

Also i hope maybe the next release can include a built in start menu folder selection, not one that requires a customdialog to work 🙂
Joost Verburg#
Originally posted by mlbl
I also noticed that the words on the bottom (the brandingtext) are not dynamically sized along with the caption. Is there a workaround to it?What i'm trying to say is that, in place of the word "Nullsoft...", say if i put a short word like "My Setup", it'll show up fine but there's lots of extra blank spaces after the word "My Setup". This is merely cosmetic, but it would greatly improve the UI if it can be fixed.

Also i hope maybe the next release can include a built in start menu folder selection, not one that requires a customdialog to work 🙂
You're right about the brandingtext sizing, i'll see wheather there is anything I can do about it. I cannot find your first problem (with the colors), can you reply to my PM?

A start menu selection can only be made using InstallOptions, maybe I'll design a dialog for it.
mlbl#
I think i'll give you two screenshots of the difference between the original one and the new one (that i fixed).

The Original:


The Fixed One:



As you said earlier the only way to have a start menu folder selection is by using installoptions, maybe you could at least simplify the process (of adding the start menu folder selection). I was unable to properly integrate it with this new modern UI, i ran into problems with the text on top "the words like Choose...." and so on...one such example is if you move to the next section (selecting a start menu folder), then move back (selecting the location / install path), then the text on top would be wrongly displayed...stuff like that.
Joost Verburg#
Originally posted by mlbl
I think i'll give you two screenshots of the difference between the original one and the new one (that i fixed).

The Original:


The Fixed One:



As you said earlier the only way to have a start menu folder selection is by using installoptions, maybe you could at least simplify the process (of adding the start menu folder selection). I was unable to properly integrate it with this new modern UI, i ran into problems with the text on top "the words like Choose...." and so on...one such example is if you move to the next section (selecting a start menu folder), then move back (selecting the location / install path), then the text on top would be wrongly displayed...stuff like that.
I haven't got this problem with any XP theme. What XP theme are you using?

I'll make an example of using InstallOptions with this Modern UI soon.
mlbl#
I'm using a custom one from ThemeXP.org called Pusan2Blue. I think it's the color scheme for the background that affects it. The fix was very simple, i just changed the flag to SS_LEFT instead of SS_WHITERECT for the dialog (the bigger rectangle outside of the two smaller ones in the dialog)
mlbl#edited
I've made (ok i just merely moved the stuff around) an alternate modern UI. Since the original brandingtext isn't dynamic, so here's the "old-but-modern" style.

Here's a screenshot :

Joost Verburg#
I will release a new version soon.

* Auto sizing branding text (kickik will make a code change)
* Fixed background color issue with some custom XP themes
* Example script for InstallOptions
* Example script: Instructions for the user on the Description frame
* more?
Sunjammer#
I've made (ok i just merely moved the stuff around) an alternate
Errm the downloaded exe fails the CRC check, and also the /NCRC flag it suggests you try does nothing???
mlbl#
Originally posted by Sunjammer

Errm the downloaded exe fails the CRC check, and also the /NCRC flag it suggests you try does nothing???
Ok after some checking i made a big mistake - i modified the example.exe from modern_ui.zip itself ! (how stupid of me)...i didn't realise it was an installer and NOT the UI itself (although it did have the UI in it)...i'll make a fixed copy rightaway
mlbl#
Ok i just fixed it, this time it should work fine.
mlbl#
Originally posted by Zaraza
Is this UI available only under XP or older versions (e.g. Win2000) will display it as well?
It should work fine on all versions of Windows OS.
Joost Verburg#
The new version of my UI will be released tomorrow, it will also include a Multilanguage + InstallOptions + Modern UI example script 🙂
Joost Verburg#
Originally posted by LsMoNKi
Where is "Space available: xxx"?
What do you mean? It's just on the Folder Select dialog (have a look at the screenshot in the first post).
Joost Verburg#
Originally posted by mlbl
Ok i just fixed it, this time it should work fine.
It you want to modify the UI, it's better to modify Contrib\UIs\modern.exe instead of creating an installer which contains the dialogs.
liquidmotion#
Originally posted by kichik


Justin is no where to be found =/
missing in action eh? 🙁