Clarification required for registry?
Hi,
I received a registry to merge in msi. I can do that but - is mentioned before a key what does - mean?
Here is the registry information,
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]
"DragFullWindows"="1"
"SCRNSAVE.EXE"="C:\\WINDOWS\\SYSTEM32\\LOGON.SCR"
"ScreenSaveActive"="1"
"ScreenSaveIsSecure"="0"
"ScreenSaveTimeOut"="15"
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000000
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"UseWUServer"=dword:00000000
[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display]
[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Personalize]
I'm referring to the last 2 line which has - before. What does that mean?
Thanks in advance.
Answers (2)
I've just tested this, by creating my own key set, exporting it, and then adding the '-' to the registry path and doubling clicking it to import it.
It removes the key in question.
So in your case you just need to ensure that you remove the keys with a '-' in front of them as part of your package, and add the keys without the '-'.
Hope that helps,
Dunnpy
Comments:
-
But, those keys are not available in my msi and they are part of base machine. - vinodreddy10 11 years ago
-
>those keys are not available in my msi
Soooooo...add them? Or, better yet, since they're keys associated with Group Policy, you'd be better off having the changes made via, er, Group Policy.
BTW, as far as *most* packaging is concerned, you can ignore registry entries below '[HKEY_USERS\.DEFAULT]'. That belongs to the local System account and packages have no right futzing with it. - anonymous_9363 11 years ago