I created a custom keyboard layout with the Microsoft Keyboard Layouter Creator (MSKLC) tool and generated a "build package" which allows an easy installation. The installation of the keyboard layout requires administratior priviliges. It copies basically the generated .DLL
file (which is part of the build result) to C:\windows\system32
and register it in the Windows Registry.
In my case I want to use the same keyboard layout on a system where I have limited priviliges. However I'm able to modify the Windows Registry.
So I tried the following (on a pc where I have administrator priviliges):
- Copy
custom.dll
toC:\custom.dll
- Change the path from an existing (already registered) keyboard layout to
..\..\custom.dll
; for example:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\0000100c
;Layout File = ..\..\custom.dll
- Select the keyboard layout in the system settings for which the file path to his related DLL was modified (in this case the "Swiss French" layout).
It works! It didn't work. (at first I had the impression that it worked, but I must have mixed something up.). It seems the files must be located within C:\windows\system32
and can't be referenced with a relative path.
Basically I want to use the custom keyboard layout (DLL) but I cant use the generated deployment package since I have no priviliges to write files to C:\windows\system32
. But I could modify the Windows Registry. Is there a way for me to still load this layout?
My OS: Windows 10 x64