Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Microsoft Keyboard layout creator Standalone Installer

22 Oct 2012   #1

Windows 7
Microsoft Keyboard layout creator Standalone Installer

Hey All,

I am not much expert with installers and stuff but I have a simple question I have created a custom keyboard layout using Microsoft keyboard layout creator, and it came up with Microsoft Installer.

Now I want to install that custom keyboard layout with my own installer with my custom made fonts , ie; install shield or advance installer.

1- While running the Microsoft Installer i noticed it make changes in following registry keys.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\]

[HKEY_CURRENT_USER\Keyboard Layout\Preload]

[HKEY_CURRENT_USER\Keyboard Layout\Substitutes][/CODE]

So i copied my urdu.dll (custom keyboard layout file) in system 32 folder and executed following reg file


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\a0000420]

"Layout Text"="Urdu Keyboard"
"Layout File"="urdu.dll"
"Layout Id"="00c1"
"Layout Product Code"="{2F7B2D99-599B-4D70-8C0A-C088DEDA824D}"
"Layout Display Name"="@%SystemRoot%\\system32\\urdu.dll,-1000"
"Custom Language Display Name"="@%SystemRoot%\\system32\\urdu.dll,-1100"
"Custom Language Name"="Urdu (Islamic Republic of Pakistan)"

[HKEY_CURRENT_USER\Keyboard Layout\Preload]

[HKEY_CURRENT_USER\Keyboard Layout\Substitutes]

but even though after making these changes , the keyboard doesn't show up in "Language Bar Settings Menu"

while when i install my Layout with Microsoft Keyboard Layout Creator , it make same changes in above registry keys, and it show up instantly as well.

2- Further investigation showed

There is a binary action dll or KbdMsi.dll (internal name) found with in Microsoft keyboard Layout installer, allocate/arrange keyboard layouts in case there is another custom layout installed within that language.

While searching within this forum Brink posted article about Keyboard Layouts and said something about Intlcfg Command-Line Options.

Can we use this intlcfg operation or any other command in custom installer (Install Shield , Advance Installer etc.) to install custom keyboard layout , which add it in Input Language list automatically and enable in language bar ?

Reply from Install Shield:
Looking at the MSI I generated in a test run with the MSKLC, I can tell you a couple things.
  • There are no registry entries in it; I suspect the Custom Action DLL creates these.
  • It deploys a single DLL and uses a system search to check for the DLL already being present in (or below?) the SystemFolder.
  • The MSI lacks a _Validation table, and this appears to be what is blocking InstallShield from opening it. If you have (or get) ORCA, this is easy to add by right clicking in the Tables list, selecting Add Table, and selecting the _Validation table checkbox. This will allow you to open it in InstallShield, but the behavior may be a little weird unless you also import real _Validation table rows.
It looks pretty easy to merge this into your installer, assuming a full blown keyboard layout is similar to this, especially with the help of something like ORCA to sidestep our dependency on the _Validation table.

it's hard to reverse engineer a custom action DLL. However you could probably copy it (save the DLL from the Binary table) and its sequencing into your project, assuming the licensing on MSKLC's output allows such.


>> Some one has done exactly what i want above ,but i dont how its get done

Hope someone would help.


My System SpecsSystem Spec


 Microsoft Keyboard layout creator Standalone Installer

Thread Tools

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:42 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33