Archive: DirText, MUI and "Destination Folder"


DirText, MUI and "Destination Folder"
How come when I set DirText, the "Destination Folder" (MUI_INNERTEXT_DIRECTORY_DESTINATION) text disappears right above the directory box?

This is using v2.0b1.

DirText /LANG=${LANG_JAPANESE} "text" "subtext" "button"

subtext doesn't seem to show up anywhere in the dialog box, but the button text is properly set.


I think there's a overwrite thing...
Can you attach script, please?


Version 2.0 beta 1 is really old. A lot has changed, I recommend you to download the latest development snapshot at http://nsis.sf.net

The new beta 4 language system also makes it easier to customize texts. Read the Modern UI documentation for details.


Upgrading is not a viable option to fix this particular problem, I'm working on code that has to remain very stable since it's in release mode, and since this is a very low priority problem, upgrading is not an option.

Was this ever a bug?


Upgrading is highly recommanded, you are using an old unstable beta version. Lots of bugs have been fixed since beta 1.

You should not use DirText to change the text, but read the Modern UI readme about text customization. The Modern UI has one single text on the folder selection page, but you can customize this one.


Upgrading NSIS is a detailed process that has a ripple effect that has high potential for introducing bugs into the product, I have experienced this before when upgrading to 2.01b. Therefore, upgrading is not a possibility in this situation.

Text customization isn't the issue at hand, it's piece of text not showing up at all. But I will try not using DirText and see if that gets me anywhere.


The texts are set by the Modern UI. Again, you should NOT use DirText.

When upgrading, the only major changes you have to make are related to the Modern UI, so that's only the interface (which is easy to check). The are quite some bugs you might not have noticed in beta 1 (also some related to the interface) so if possible, upgrade.


Sounds good, thanks.

Just out of curiousity though, if you're not supposed to use DirText, why is it available? Or is it just not recommended using DirText when using MUI?


You can use DirText for the Classic UI. The Modern UI itself sets DirText.