- NSIS Discussion
- changing "Please wait while ...."
Archive: changing "Please wait while ...."
0kermit0
8th October 2003 11:45 UTC
changing "Please wait while ...."
Hi,
how can i change the text "Please wait while Setup is loading ..."
i have chnged the "verifying installer: %d%%" in lang.h, but i didnt find anything about "Please wait while Setup is loading ..."
I have tried :
Banner::show /NOUNLOAD /set 76 "my text ..."
in the .onInit Function. but then it shows the message twice and no "verifying installer: %d%%" anymore.
Joost Verburg
8th October 2003 11:50 UTC
See Modern UI Readme, you can change the UI resource.
kichik
8th October 2003 11:50 UTC
It's set in dialog 111 in the UI. If you're using the MUI it's modern.exe (define MUI_UI [I think, check with the docs] to load your new UI), if not its default.exe (use ChangeUI to load your new UI).
rsegal
23rd December 2004 17:51 UTC
Can this text be localized perhaps by replacing it within .onInit?
kichik
4th January 2005 15:09 UTC
No, it can not be changed by .onInit. Script code is not yet verified while this message is displayed.
rsegal
4th January 2005 15:19 UTC
So right now the only way to change that text would be to modify the resource executable you're using?
kichik
4th January 2005 15:59 UTC
Yes.
Huette
18th April 2005 09:30 UTC
i got a similar problem, too. i changed the text "Please wait while setup is loading" in modern.exe and it works, but i can't change the text "verifying installer..." , which is shown in the dialog and in the taskbar. I changed it in \NSIS\Source\exehead\lang.h, but it's still the same.
what am i doing wrong?
deguix
18th April 2005 09:38 UTC
It's not recommended to do this because all UIs were changed from Default UI and they don't have a source code. Use Resource Hacker to change an UI instead.
Huette
18th April 2005 11:14 UTC
I already changed the dialog 111 in modern.exe with Resource Hacker, but i can't modify the text "verifying installer...". Is it possible to do that with Resource Hacker? Otherwise i have to edit the file, where it is defined, though it is not recommended, but I think in my situation it won't be a problem.
Huette
19th April 2005 16:17 UTC
..still got that problem...
The text "Please wait while setup is loading..." can be easily modified with Resource Hacker (Dialog 111 in modern.exe), but the changes in the lang.h don't take effect (it's the exact contrary to the problem 0kermit0 got in 2003 - see above). I still got the text "verifying installer..." in that dialog. Where does it come from, if not from lang.h ?
kichik
19th April 2005 19:00 UTC
It's not enough to change lang.h, you have to recompile NSIS.