Commit 3b506c64 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: AppSearchReg shouldn't create the key it's looking for if it doesn't exist.

parent 700adac9
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment