Skip to content
⌘ NSIS Forum Archive

How to set IO Browse button text?

7 posts

nsfis#

How to set IO Browse button text?

Is there any way how to set InstallOptions browse button text of FileRequest item? Now it displays only '...' and this is not consistent with Browse button from standard directory page ('Browse...').
kichik#
Not any easy way at the moment. You can send WM_SETTEXT to it and call SetWindowPos using System.dll to change the size.
Yurik#
Is the solution other than manually setting window text and size available now for FileRequest?
Thanks.
tsuoying#
How about setting the value of the filepath itself, and not the button text? What do I send? Thanks!
tsuoying#
Someone answered my question in this other thread:

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.


I didn't realize that a FileRequest control is composed of two items, and so I had my ID # off by one.