Module: wine Branch: refs/heads/master Commit: 3b506c640866025eb791e806d756330cdb2b01d0 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=3b506c640866025eb791e806...
Author: James Hawkins truiken@gmail.com Date: Sun Jul 9 20:17:42 2006 -0700
msi: AppSearchReg shouldn't create the key it's looking for if it doesn't exist.
---
dlls/msi/appsearch.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 44c5256..6f173dc 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -310,7 +310,7 @@ static UINT ACTION_AppSearchReg(MSIPACKA goto end; }
- rc = RegCreateKeyW(rootKey, keyPath, &key); + rc = RegOpenKeyW(rootKey, keyPath, &key); if (rc) { TRACE("RegCreateKeyW returned %d\n", rc);