Skip to content
⌘ NSIS Forum Archive

Change button positions on license page

6 posts

Guest#

Change button positions on license page

Hey all,

I'm trying to get the "I Agree" and Cancel buttons to switch positions on the license page, any idea how I might be able to do this?

Calling SetWindowPos using the system plugin seems to be an option.

Thanks
goldy1064#
If you're using Modern UI, then Modern.exe. If you're not using Modern UI, then default.exe. These files are located in C:\Program Files\NSIS\Contrib\UIs if you install to the default location on drive C.
Afrow UK#
Yes it will.
Just using SetWindowPos alone will not work as you need to get the X and Y coordinates of the buttons with GetWindowRect and then use ScreenToClient. It would be easier to write a plugin.

-Stu