Skip to content
⌘ NSIS Forum Archive

InstallOptions with Modern UI - How to change the FileRequest button text?

2 posts

PieroQuadro#

InstallOptions with Modern UI - How to change the FileRequest button text?

Hi all,

I'm writing an installer using Modern Interface, and I need a simple custom page to ask to the user the location of a file.

My problem is that I don't like very much the fact that the browse button of the FileRequest displays 3 dots (...) instead of a "browse" text.

I've seen some similar post in this newsgroup, but I didn't quite understand the solution. They say to use the SendMessage instruction, but I don't know when to send this message, and I'm not really sure to which control window.

This is the code I found, put i don't know where to put it, and if it will work at all...

FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $1 $0 1201
SendMessage $1 ${WM_SETTEXT} 0 "STR:String"

Thank you,
Piero.
Afrow UK#
See attached Zip in this topic:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


-Stu