mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[RAPPS] DelRegEmpty instruction should be best-effort, don't propagate any errors (#6860)
DelRegEmpty exists to clean up "company" registry parent keys. If another application is writing to the key at the same time as we are gently trying to remove it, our uninstaller should ignore any errors.
This commit is contained in:
parent
a3d9d0e592
commit
5db69da46b
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ UninstallThread(LPVOID Parameter)
|
|||
if (op == UNOP_REGKEY)
|
||||
err = key.RecurseDeleteKey(tmp);
|
||||
else if (RegKeyHasValues(hKey, str, wowsam) == S_FALSE)
|
||||
err = key.DeleteSubKey(tmp);
|
||||
key.DeleteSubKey(tmp); // DelRegEmpty ignores errors
|
||||
}
|
||||
switch(err)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue