Wrong SAM
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2163 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b966f77f73
commit
dde73163a8
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ static WIN32_FIND_DATA * NSISCALL file_exists(char *buf)
|
|||
static LONG NSISCALL myRegDeleteKeyEx(HKEY thiskey, LPCTSTR lpSubKey, int onlyifempty)
|
||||
{
|
||||
HKEY key;
|
||||
int retval=RegOpenKeyEx(thiskey,lpSubKey,0,0,&key);
|
||||
int retval=RegOpenKeyEx(thiskey,lpSubKey,0,KEY_ENUMERATE_SUB_KEYS,&key);
|
||||
if (retval==ERROR_SUCCESS)
|
||||
{
|
||||
// NB - don't change this to static (recursive function)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue