Archive: How can I change the setup-layout?


How can I change the setup-layout?
the examples of the "modern ui" is a one layout.
but i want to get the layout of the setup of the newest version of NSIS. how can i change this?


The newest version of NSIS use the Modern UI AKA MUI.
But if you get the source-code, you'll find the UI Holder. There you can compile the source in C++.


i don´t understand this. how or where can i get the source code and how i change the layout of my setup?


Use a resource editor, like Resource Hacker, and you can change the default Modern UI to create your own UI.


where i have to use the ressource hacker?
if i compiled my setup? i´ve to try it, but it´s showed an error message.


You should create a custom UI file and use ChangeUI.


i have an example:

the first screen:
this is the layout of my setup:
http://www.ystart.net/upload/20040531/1085997934.png

the second screen
but i wanna use this layout:
http://www.ystart.net/upload/20040531/1085998025.png


how can i set my setup, that i can use this layout in the second screen?

EDIT:
oh. ok. i understand. but how create i a custom UI?

EDIT2:
the half of the layout that i want now i have.
but i need the drop-down (?) list like the second screen.


As deguix said. Get Resource Hacker, then open your UI, modify the dialog and re-compile.
Yeah, you need some background for this.


This layout is one of the standard Modern UI designs. You only have to set the MUI_COMPONENTSPAGE_SMALLDESC interface setting in order to use it (see Modern UI Readme).

That drop-down box displays installation types, see the InstType instruction (NSIS Users Manual).


Originally posted by Joost Verburg
This layout is one of the standard Modern UI designs. You only have to set the MUI_COMPONENTSPAGE_SMALLDESC interface setting in order to use it (see Modern UI Readme).

That drop-down box displays installation types, see the InstType instruction (NSIS Users Manual).
yep. it´s okay. i have. thx for helping :up: