Juan Lang : msi: Implement msidbLocatorTypeFileName in RegLocator
searches.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Oct 3 05:18:29 CDT 2006
Module: wine
Branch: master
Commit: 4b99bf02c018bec9f9104a93b3ec1cda3310cff6
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=4b99bf02c018bec9f9104a93b3ec1cda3310cff6
Author: Juan Lang <juan_lang at yahoo.com>
Date: Mon Oct 2 14:19:42 2006 -0700
msi: Implement msidbLocatorTypeFileName in RegLocator searches.
---
dlls/msi/appsearch.c | 3 +++
dlls/msi/tests/package.c | 5 +----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c
index 9e65d6d..063f65d 100644
--- a/dlls/msi/appsearch.c
+++ b/dlls/msi/appsearch.c
@@ -397,6 +397,9 @@ static UINT ACTION_AppSearchReg(MSIPACKA
rc = ACTION_SearchDirectory(package, sig, (LPCWSTR)value, 0,
appValue);
break;
+ case msidbLocatorTypeFileName:
+ *appValue = (LPWSTR)value;
+ break;
case msidbLocatorTypeRawValue:
ACTION_ConvertRegValue(regType, value, sz, appValue);
break;
diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c
index 6542a25..40cf6d8 100644
--- a/dlls/msi/tests/package.c
+++ b/dlls/msi/tests/package.c
@@ -2285,10 +2285,7 @@ static void test_appsearch(void)
r = MsiGetPropertyA( hpkg, "WEBBROWSERPROG", prop, &size );
ok( r == ERROR_SUCCESS, "get property failed: %d\n", r);
- todo_wine
- {
- ok( lstrlenA(prop) != 0, "Expected non-zero length\n");
- }
+ ok( lstrlenA(prop) != 0, "Expected non-zero length\n");
MsiCloseHandle( hpkg );
DeleteFileA(msifile);
More information about the wine-cvs
mailing list