Opened on Jun 6, 2008 at 9:52:07 AM
#350 closed Feature Request (Rejected)
FileInstall fails when user login name is non-English chars
| Reported by: | Owned by: | Jon | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
$execdir = "C:\HelpDesk\"
FileInstall("winvnc.exe", $execdir, 1)
Run($execdir & "winvnc.exe " & " -connect " & $RemoteHelperIP & ":5500 -noregistry", $execdir)
Above code succeeds in most cases but fails when the user's login name is in non-English(for example, Korean). The 'Run' function fails in finding the target file.
This bug should be tested under the following conditions to reproduce:
- non-English Windows (I am not 100% sure, though)
- user login name is in non-English (ex)영업
It seems that 'FileInstall' does not handle properly MBCS chars in the file path, but it's just my guess.
Please find the cause of this bug and fix ASAP.
Thanks.
Attachments (0)
Change History (6)
comment:2 by , on Jun 7, 2008 at 4:52:48 PM
can you check fileinstall return I suspect the "winvnc.exe" is not found so fileinstall does work due to unable to found the file. Nothing to do with the user.
Your example is not MBCS at least under a non asian windows.
follow-up: 5 comment:3 by , on Jun 14, 2008 at 5:40:14 PM
| Owner: | set to |
|---|---|
| Status: | new → accepted |
| Type: | Bug → Feature Request |
Some of the internal FileInstall code works in ANSI (converts from Unicode) and this may cause problems here. I'll update the code in a future version. Changing to feature request so I can track it better.
comment:5 by , on Jun 14, 2008 at 7:58:38 PM
Replying to Jon:
Some of the internal FileInstall code works in ANSI (converts from Unicode) and this may cause problems here. I'll update the code in a future version. Changing to feature request so I can track it better.
Yes please check and fix this problem. FileInstall always seems to fail when the path includes Asian characters. I know this happens at least for Korean, Japanese, and Chinese.
Do I need to add this issue to feature request myself or is it already added there?
I wish I can be emailed when this issue is resolved.
Thanks.
HaeRim Lee
comment:6 by , on Nov 6, 2008 at 11:17:13 PM
| Resolution: | → Rejected |
|---|---|
| Status: | accepted → closed |
We can't find anything wrong in our code and we can't reproduce it. We apparently already changed the code Jon had in mind so closing.

Replying to ehaerim@gmail.com:
Or what? Really, that's a very rude thing to say. You are in no place to request prioritization of our time and effort to fix bugs. We'll fix it when we fix it like we do with everything else.