Archive: Building NSIS as a pure Unicode application


Building NSIS as a pure Unicode application
I am wondering: Can NSIS be built as a pure Unicode application for Windows instead of as an ANSI application? (Of course, I'm not trying to target Windows 9x/Me in this case.)

Why do I need to do this? I am endeavoring to produce a data-centric application, like an encyclopedia, where I wish for the user interface to appear in the same language as the data, regardless of the language setting of the host system. (And I don't want to require the user to change their system settings in order to run my program.) For example, say that the data is Japanese and the user's Windows XP system is configured to default to English. I still want the user interface for the program to appear in readable Japanese. Everything works great for my program since it is built for Unicode. However, the NSIS installer is still an ANSI application. So when the installer is run, the internationalized text that appears in the title bar and the rest of the user interface is unreadable if the system language is English instead of Japanese. (Again, I don't want to require the user to change their system settings in order to install the program. Please also assume that they have the required fonts and language packs installed on their system for Japanese or whatever other language I need to support.)

Please let me know if this is possible or if there is anyone else who is doing or attempting this. If it is not possible now, what do you think it would take on someone's part to modify the NSIS source code to accomplish it?

Thank you for help and efforts with NSIS.

Regards,
Vargas


Actually, it would be more preferable to build it with the possibility to change the character set used for text depending on the language file used (Shift-JIS for Japanese, etc.) and then use a Unicode-enabled string for strings that may require it (path and possibly file names). (Currently, Unicode paths are not supported)

This would retain compatability with Windows 9x/ME while still letting 2K/XP users enjoy full compatability.


Pure Unicode Application Needed
As stated, I'm looking for a pure Unicode build of NSIS. I'm looking to ship a pure Unicode installer application that runs out of the box on Windows XP systems. As stated, I'm not looking for Windows 9x/Me compatibility. (For that, I can just use the current ANSI build of NSIS.) Foremostly, I need the window title bar and other parts of the installer's user interface to be completely readable without requiring the user to change their system language settings.

Has anyone taken on the task of building NSIS as a Unicode application? What hurdles did you run into?

Thanks for any feedback or guidance.

Vargas