Forums


Comfort Software :: Forums :: Development
<< Sujet précédent | Sujet suivant >>   

Change Registry location

Auteur Message
Jarrest
Wed Jun 01 2016, 05:06AM
Utilisateur enregistré #1511
Inscrit le: Wed Jun 01 2016, 04:52AM
Messages: 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,
Retour en haut
Comfort
Wed Jun 01 2016, 11:43AM


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


Have a nice day
Retour en haut
Cii Tech Sol
Wed Sep 13 2017, 01:12PM
Utilisateur enregistré #1581
Inscrit le: Wed Sep 13 2017, 01:01PM
Messages: 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!
Retour en haut
Comfort
Thu Sep 14 2017, 02:05PM


Inscrit le: Wed Sep 19 2007, 03:42PM
Messages: 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
Retour en haut
Modérateurs: Comfort

Allez à :     Retour en haut

Syndiquer ce sujet: rss 0.92 Syndiquer ce sujet: rss 2.0 Syndiquer ce sujet: RDF
Powered by e107 Forum System