Skip to content
⌘ NSIS Forum Archive

Component page setting...

5 posts

wacaveman#

Component page setting...

Is it possible to change the text of the component screen based upon the results of a custom screen that is just before it?

Thanks,

-Kevin
Red Wine#
Knowing the control id and sending message with ${WM_SETTEXT}.
If the installer is multilanguage, you may want to prepare corresponding language strings.
wacaveman#
I am not sure what you mean. Do you mean to get the control ID of the components screen? I tried using PageEx, but the functionality is so limited, I think I can't use it to change my screen. I don't think it allows any dynamic capabilities. One of the troubles I have is figuring out where to put the functionality.

And are there corresponding controls for ${WM_SETTEXT}, so that I can change the title and such?

Anyway, I looked over E1.19 BannerTrimPath, and can't figure out what the hell it is doing, but I assume that I need to do something similar.

Thanks for the reply,

-Kevin
Afrow UK#
Look at GetDlgItem and SendMessage in the manual. You haven't really specified which specific text you want changing on the components page.

Stu
Red Wine#
...and searching the forum is always good idea,

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.