Forums


Comfort Software :: Forums :: Development
<< Previous thread | Next thread >>   

Change Registry location

Author Post
Jarrest
Wed Jun 01 2016, 05:06am
Registered Member #1511
Joined: Wed Jun 01 2016, 04:52am
Posts: 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,
Back to top
Comfort
Wed Jun 01 2016, 11:43am


Joined: Wed Sep 19 2007, 03:42pm
Posts: 540
Please look at the /COMMON command line parameter:
http://www.comfort-software.com/keyboard/help/commandlineswitches.htm


Have a nice day
Back to top
Cii Tech Sol
Wed Sep 13 2017, 01:12pm
Registered Member #1581
Joined: Wed Sep 13 2017, 01:01pm
Posts: 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!
Back to top
Comfort
Thu Sep 14 2017, 02:05pm


Joined: Wed Sep 19 2007, 03:42pm
Posts: 540
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
Back to top
Moderators: Comfort

Jump:     Back to top

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