Archive: Is it possible to edit the alignment of controls in EULA screen


Is it possible to edit the alignment of controls in EULA screen
Hi all,
I am creating an installer with NSI Script, I would like to reduce the spacing between the controls in the EULA screen. Especially I want to reduce the space on either side of the separator. Is it possible if yes How?


If you're using MUI(2), you can edit NSIS\Contrib\Modern UI 2\Pages\License.nsh to your liking. Or you can edit the page in the page's SHOW function using nsDialogs and win32 api (long way around).


The page isn't a nsDialogs page so modifying License.nsh will not help you. You can either resize the controls at run-time using SetWindowPos API (via System plug-in) or you can modify the actual resource (UIs\modern.exe) pre-compile using Resource Hacker. Make a copy of the UI and put it in your script folder and set it using !define MUI_UI my_ui.exe.

Stu


Doh, how often am I going to make that mistake before I learn to actually check the nsh file. ~_~


Only the welcome and finish pages are made with nsDialogs. All other pages except the start menu page are standard NSIS dialogs in the UI.

Stu


how set licenwse space more large in down?


Use Reshacker and edit license dialog - but also you will need to modify outer [main] dialog.