Archive: non-English folder problem?


non-English folder problem?
How to install a program and create its shortcut in user folder in case of that user folder is written in cryllic (maybe Unicode)?
How to solve this problem? The problem is that a program get the user path "c:\Documents and Settings\ \Desktop" (with space) instead of "c:\Documents and Settings\***1079;***1086;***1095;***1080;***1085; ***1093;***1101;***1088;***1101;***1075;***1083;***1101;***1075;***1095;\Desktop" when it is been installing.


Copied from manual:
$DESKTOP
The windows desktop directory (usually C:\windows\desktop but detected at runtime). The context of this constant (All Users or Current user) depends on the SetShellVarContext setting. The default is the current user.

NSIS has nothing to do with your problem. When you create an account in windows, give it the name with english charset and then rename it from control panel/user accounts in your local lang. This way the account's record in system registry will be readable from every prog that takes info from registry. :-)


How about if the end folder contains chinese characters, such as:

$SMPROGRAMS\[chinese folder name]

Is it possible to compile such a script in NSIS? If so, how?


How about if the end folder contains chinese characters, such as:

$SMPROGRAMS\[chinese folder name]

Is it possible to compile such a script in NSIS? If so, how?
Do you mean something like SetOutPath $PROGRAMFILES\[chinese folder name]?
If so, I don't know about chinese, but for my lang there is not problem if you use localised windows :-)