Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Dependent registry changes


3 replies to this topic

meandyou

meandyou
  • Full Members
  • 2 posts

Posted 16 January 2007 - 15:04

The question is how to create a installshield installation to install a keyboard layout?
I found out that to install a keyboard layout there have just two steps to be done:

- copy the keybard layout dll file to windows system folder (done)
- add a registry key at
CODE

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\YYY


As I just install keyboard layout substitutes, the template of the name is:
CODE

x0000123


Where x is a character. For example there already exist two keyboard substitutes - "a0000123","b0000123", I`ve to create a key name "c0000123". Or if there are no keynames, I`ve to create "a0000123". How it`s done in InstallShield?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 January 2007 - 17:45

You would need a custom action to build the proepry name. Windows Installer can't do that out of the box.

meandyou

meandyou
  • Full Members
  • 2 posts

Posted 16 January 2007 - 20:55

Should I do with my own program? I thought that it would be better that the job does the installation file. Can it done with InstallShield?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 January 2007 - 10:29

You can create a custom action (a DLL ideally) that you can call from InstallShield.