Archive: Makensis(w).exe fails when file names have kanji characters


Makensis(w).exe fails when file names have kanji characters
When I try to compile my installer, both makensis.exe and makensisw.exe fail when they happen across a file with kanji characters in the name, for example

コピー ~some file.txt (コピー ~ simply means "copy of").

I am running on the English version of XP pro.

Is there a workaround or a pluging that can help me with this?

I have a fairly large group of Japaneses and Chinese files to include in my installer.


I was able to get my installer script to compile using this:

http://www.scratchpaper.com/

I would still like to know if I could accomplish the same thing with the "Official" version.


Not until the Unicode branch is made official. It's simply a limitation of NSIS still being ANSI-based: it can only work with filenames that can be expressed in the non-Unicode character set used by the system.

You can change the language to use for non-Unicode programs under Regional and Language Settings in the control panel, but unless your Chinese names happen to only be using characters which can also be expressed in the Japanese locale, you can't do it.

Just use Unicode NSIS for now - it's the simplest way to deal with this kind of scenario, and it's also much easier to test, because you're removing the dependency on that setting, and can test on any Windows machine (that the installer can run on).