View previous topic :: View next topic |
Author |
Message |
swright
Joined: 22 Nov 2017 Posts: 4
|
Posted: Wed Nov 22, 2017 10:38 am Post subject: Automate PG update |
|
|
Hello,
We will be updating from v4 to v8. Here is where I am having issues.
I can install and set script to update registry with database, presets, etc. but that is only for hk_current user. The best way to save settings for all users is by checking Install for all local users. How do I automate that setup process? Aswell as automate the display group across the board for all users?
Thank you.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4381
|
Posted: Wed Nov 22, 2017 11:02 am Post subject: |
|
|
You'll want to create the following registry entry:
HKEY_LOCAL_MACHINE\SOFTWARE\NotePage\NotePagerNet\LockSettings
Set LockSettings to True.
That registry setting is what tells the client to use the registry settings in HKLM rather than HKCU.
As for the display groups, could you go in to a bit more detail with what you're looking to implement? |
|
Back to top |
|
swright
Joined: 22 Nov 2017 Posts: 4
|
Posted: Wed Nov 22, 2017 11:06 am Post subject: |
|
|
Thank you for the quick response, so with the install I would want to include a reg file for the settings (db, presets, display groups) to HKLM, add string LockSettings, setting that to true. That will make all users point to that when they launch pg for the first time?
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4381
|
Posted: Wed Nov 22, 2017 11:14 am Post subject: |
|
|
Exactly. |
|
Back to top |
|
swright
Joined: 22 Nov 2017 Posts: 4
|
Posted: Wed Nov 22, 2017 11:43 am Post subject: |
|
|
Tech Support wrote: |
Exactly. |
So it looks like when I set it to hklm it still attempts to read from hkcu and fails to grab the new information after the upgrade.
|
|
Back to top |
|
Tech Support
Joined: 25 Aug 2003 Posts: 4381
|
Posted: Wed Nov 22, 2017 12:18 pm Post subject: |
|
|
Setting the LockSettings to true will force the PG GUI Client to look for its settings under HKLM instead of HKCU.
So, you will need to recreate all the settings normally found under HKEY_CURRENT_USER\SOFTWARE\NotePage\NotePagerNet\ and put them under HKEY_LOCAL_MACHINE\SOFTWARE\NotePage\NotePagerNet\
Also, note that on 64-bit machines the actual path for HKLM may be
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NotePage\NotePagerNet\ |
|
Back to top |
|
swright
Joined: 22 Nov 2017 Posts: 4
|
Posted: Wed Nov 22, 2017 2:52 pm Post subject: |
|
|
Tech Support wrote: |
Setting the LockSettings to true will force the PG GUI Client to look for its settings under HKLM instead of HKCU.
So, you will need to recreate all the settings normally found under HKEY_CURRENT_USER\SOFTWARE\NotePage\NotePagerNet\ and put them under HKEY_LOCAL_MACHINE\SOFTWARE\NotePage\NotePagerNet\
Also, note that on 64-bit machines the actual path for HKLM may be
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\NotePage\NotePagerNet\ |
That worked, thanks so much.
|
|
Back to top |
|
|