Archive: Path entry control ignores english chars


Path entry control ignores english chars
On my Win2000 there is a consistent problem with NSIS installers in that they do not accept english chars in destination path dialog.

At first I thought that it is a feature, because delete, select and copy/paste keys work ok and when you delete a part of a path - a list of suggestions from existing paths appears in a drop-down box. It was a little annoying to create new folders using "Browse..." button dialog, but not impossible. But now I've got a GUI written with NSIS for a console tool and the GUI doesn't allow to enter english text in dialog controls at all. Keys pressed are just ignored. Backspace doesn't work also. If I switch keyboard locale then localized text is correctly entered and displayed, backspace works ok.

I can't find another program with same symptoms, so the problem must be with NSIS itself. This happens with installers compiled with 2.29 to 2.37 - do not know about older versions.


There is no such feature in the code. Nothing blocks users from entering anything in that input control. Does it happen with all installers including the installer for the NSIS package itself?


Yes.


Does it happen in the address bar of Explorer as well?


No. It is ok both in explorer bar and in run dialog.


And this one?


This dialog is also buggy. I've checked with another win2000 - it seems ok there.


That dialog does nothing but call SHAutoComplete. That plus the fact it happens only on one specific computer makes me want to pull the "not me" card. Have you tried re-registering shlwapi.dll? That move has magical abilities to fix stuff on Windows.


Thanks for the hint! It was a wrong version of shlwapi.dll from WinXP that slipped into my installation. After replacing the wrong version everything works ok now.