don't try deleting from the 32-bit view when RegDeleteKeyExA isn't found but g_exec_flags.alter_reg_view is set
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5071 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
357c44ac38
commit
a3e46a1b13
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ static LONG NSISCALL myRegDeleteKeyEx(HKEY thiskey, LPCTSTR lpSubKey, int onlyif
|
|||
if (RDKE)
|
||||
retval=RDKE(thiskey,lpSubKey,AlterRegistrySAM(0),0);
|
||||
else
|
||||
retval=RegDeleteKey(thiskey,lpSubKey);
|
||||
retval=g_exec_flags.alter_reg_view||RegDeleteKey(thiskey,lpSubKey);
|
||||
}
|
||||
}
|
||||
return retval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue