Author: tfaber
Date: Fri Nov 27 11:34:12 2015
New Revision: 70150
URL:
http://svn.reactos.org/svn/reactos?rev=70150&view=rev
Log:
[MSI]
- Do not open registry keys with no access rights. Will be sent to Wine after 1.8 code
freeze.
CORE-10587
Modified:
trunk/reactos/dll/win32/msi/action.c
Modified: trunk/reactos/dll/win32/msi/action.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msi/action.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/msi/action.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msi/action.c [iso-8859-1] Fri Nov 27 11:34:12 2015
@@ -2987,7 +2987,7 @@
{
*p = 0;
if (!p[1]) continue; /* trailing backslash */
- hkey = open_key( comp, root, subkey, FALSE, access );
+ hkey = open_key( comp, root, subkey, FALSE, access | READ_CONTROL );
if (!hkey) break;
res = RegDeleteKeyExW( hkey, p + 1, access, 0 );
RegCloseKey( hkey );