Foren


Comfort Software :: Foren :: Development
<< Vorheriger Thread | Nächster Thread >>   

Change Registry location

Autor Eintrag
Jarrest
Wed Jun 01 2016, 05:06AM
Registriertes Mitglied #1511
Dabei seit: Wed Jun 01 2016, 04:52AM
Einträge: 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,
Nach oben
Comfort
Wed Jun 01 2016, 11:43AM


Dabei seit: Wed Sep 19 2007, 03:42PM
Einträge: 545
Please look at the /COMMON command line parameter:
http://www.comfort-software.com/keyboard/help/commandlineswitches.htm


Have a nice day
Nach oben
Cii Tech Sol
Wed Sep 13 2017, 01:12PM
Registriertes Mitglied #1581
Dabei seit: Wed Sep 13 2017, 01:01PM
Einträge: 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!
Nach oben
Comfort
Thu Sep 14 2017, 02:05PM


Dabei seit: Wed Sep 19 2007, 03:42PM
Einträge: 545
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
Nach oben
Moderatoren: Comfort

Forum:     Nach oben

Syndicate diesen thread: rss 0.92 Syndicate diesen thread: rss 2.0 Syndicate diesen thread: RDF
Powered by e107 Forum System