mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
msi: AppSearchReg shouldn't create the key it's looking for if it doesn't exist.
This commit is contained in:
parent
700adac9ac
commit
3b506c6408
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ static UINT ACTION_AppSearchReg(MSIPACKAGE *package, BOOL *appFound,
|
|||
goto end;
|
||||
}
|
||||
|
||||
rc = RegCreateKeyW(rootKey, keyPath, &key);
|
||||
rc = RegOpenKeyW(rootKey, keyPath, &key);
|
||||
if (rc)
|
||||
{
|
||||
TRACE("RegCreateKeyW returned %d\n", rc);
|
||||
|
|
Loading…
Reference in a new issue