Foros


Comfort Software :: Foros :: Development
<< Tema anterior | Tema siguiente >>   

Change Registry location

Autor Mensaje
Jarrest
Wed Jun 01 2016, 05:06AM
Miembro registrado #1511
Unido: Wed Jun 01 2016, 04:52AM
Mensajes: 1
Hello guys,

Currently I try to create an universal configuration because I will have to deploy HVK on multiple tablet, but the reg file is in HKEY_USER and so when i export the file the current path depends of the user name...
So I would like to know if it's possible to define HKEY_LOCAL_MACHINE as the main path for registry ? And so export and import config easier with the reg file.

Regards,
Volver arriba
Comfort
Wed Jun 01 2016, 11:43AM


Unido: Wed Sep 19 2007, 03:42PM
Mensajes: 565
Please look at the /COMMON command line parameter:
http://www.comfort-software.com/keyboard/help/commandlineswitches.htm


Have a nice day
Volver arriba
Cii Tech Sol
Wed Sep 13 2017, 01:12PM
Miembro registrado #1581
Unido: Wed Sep 13 2017, 01:01PM
Mensajes: 1
Sorry to resurrect an old thread but my question is similar as we are bundling the keyboard software as part of our installer. We need our settings accessible for all users. We are running a /RESTORE command as part of the install process.

1. Do we need to include the /COMMON parameter when doing the /RESTORE?
2. Do we need to always use /COMMON when launching the keyboard to force the program to pull settings from HKEY_LOCAL_MACHINE rather than HKEY_CURRENT_USER?
3. Can we write registry key values directly without using /RESTORE?

Thanks!
Volver arriba
Comfort
Thu Sep 14 2017, 02:05PM


Unido: Wed Sep 19 2007, 03:42PM
Mensajes: 565
1. Do we need to include the /COMMON parameter when doing the /RESTORE?

Yes.

2. Do we need to always use /COMMON when launching the keyboard to force the program to pull settings from HKEY_LOCAL_MACHINE rather than HKEY_CURRENT_USER?

Yes. But the software has to add this parameter automatically when it restores "Run at Windows startup" setting.

3. Can we write registry key values directly without using /RESTORE?

You can, but some settings don't store in registry. So the /RESTORE parameter is better.

Have a nice day
Volver arriba
Moderadores: Comfort

Saltar:     Volver arriba

Sindicalizar este hilo: rss 0.92 Sindicalizar este hilo: rss 2.0 Sindicalizar este hilo: RDF
Powered by e107 Forum System