Archive: changing "Please wait while ...."


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.


See Modern UI Readme, you can change the UI resource.


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).


Can this text be localized perhaps by replacing it within .onInit?


No, it can not be changed by .onInit. Script code is not yet verified while this message is displayed.


So right now the only way to change that text would be to modify the resource executable you're using?


Yes.


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?


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.


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.


..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 ?


It's not enough to change lang.h, you have to recompile NSIS.