msi: Downgrade some warnings.

This commit is contained in:
Hans Leidekker 2010-11-03 15:05:22 +01:00 committed by Alexandre Julliard
parent 566e67a491
commit ee7d8547b6
1 changed files with 3 additions and 4 deletions

View File

@ -2651,7 +2651,7 @@ static void delete_reg_key_or_value( HKEY hkey_root, LPCWSTR key, LPCWSTR value,
{ {
if ((res = RegDeleteTreeW( hkey_root, key ))) if ((res = RegDeleteTreeW( hkey_root, key )))
{ {
WARN("Failed to delete key %s (%d)\n", debugstr_w(key), res); TRACE("Failed to delete key %s (%d)\n", debugstr_w(key), res);
} }
return; return;
} }
@ -2660,12 +2660,11 @@ static void delete_reg_key_or_value( HKEY hkey_root, LPCWSTR key, LPCWSTR value,
{ {
if ((res = RegDeleteValueW( hkey, value ))) if ((res = RegDeleteValueW( hkey, value )))
{ {
WARN("Failed to delete value %s (%d)\n", debugstr_w(value), res); TRACE("Failed to delete value %s (%d)\n", debugstr_w(value), res);
} }
res = RegQueryInfoKeyW( hkey, NULL, NULL, NULL, &num_subkeys, NULL, NULL, &num_values, res = RegQueryInfoKeyW( hkey, NULL, NULL, NULL, &num_subkeys, NULL, NULL, &num_values,
NULL, NULL, NULL, NULL ); NULL, NULL, NULL, NULL );
RegCloseKey( hkey ); RegCloseKey( hkey );
if (!res && !num_subkeys && !num_values) if (!res && !num_subkeys && !num_values)
{ {
TRACE("Removing empty key %s\n", debugstr_w(key)); TRACE("Removing empty key %s\n", debugstr_w(key));
@ -2673,7 +2672,7 @@ static void delete_reg_key_or_value( HKEY hkey_root, LPCWSTR key, LPCWSTR value,
} }
return; return;
} }
WARN("Failed to open key %s (%d)\n", debugstr_w(key), res); TRACE("Failed to open key %s (%d)\n", debugstr_w(key), res);
} }