Archive: Change button positions on license page


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


Use a resource hacker and manually move them.


Any idea which files need to be edited?


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.


Ok going to try it, but will this make the button positions change on all other pages?


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