Using the following as an example:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\AutoRotation]
"Enable"=dword:00000000
I created the following as "On Post Install"
Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Windows\CurrentVersion\AutoRot ation", "Enable", "00000000", REG_DWORD);
If I merge the registry key listed first, it works, the "On Post Install" did not set the key
Please advise
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\AutoRotation]
"Enable"=dword:00000000
I created the following as "On Post Install"
Registry.SetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Windows\CurrentVersion\AutoRot ation", "Enable", "00000000", REG_DWORD);
If I merge the registry key listed first, it works, the "On Post Install" did not set the key
Please advise
Comment