Environment:
NSIS 2.40 on Windows Vista SP1
(also reproduces on Windows XP SP2 and SP3 with Control Panels > Languages > East Asian Language support enabled)
Repro:
1. Compile C:\Program Files\NSIS\Examples\example1.nsi
2. Create a folder on the desktop with a Korean name (라마)
2.1. You can use Google Translate to copy/paste the string ( http://translate.google.com/translate_t#en|ko|llama )
3. Move example1.exe into the new folder
4. Launch example1.exe
Expected:
example1 runs and installs
Observed:
Dialog "NSIS Error" with "Error launching installer"
Comments:
I suspect this is because the NSIS installer must open itself to access the compressed data stream, but is using the Win32 ASCII version of path and file open functions. Perhaps a myFileOpen() problem?
This prevents me from using the base NSIS to deliver my application to Asian customers. By default, Windows Vista users download content into C:\Users\<username>\Downloads, and users speaking Korean, Japanese, and Chinese usually have usernames with wide characters. Windows XP has the same problem for files downloaded to the Desktop.
Thanks,
James Cook
james@lindenlab.com
Error dialog when launching NSIS from path with wide characters
Also, this is not a new issue with NSIS 2.40. I have seen it with 2.38 and earlier as well.
You're correct. The installer has to open itself to read the data but can't do so if the it can't tell the OS where it is. In case of a Unicode path, we have no way of telling the OS where the installer is.
I'm closing this as duplicate as the bug Unicode (#1238132) support ticket covers this.