Commit 4b99bf02 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

msi: Implement msidbLocatorTypeFileName in RegLocator searches.

parent 8c2cdf7b
......@@ -397,6 +397,9 @@ static UINT ACTION_AppSearchReg(MSIPACKAGE *package, LPWSTR *appValue,
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;
......
......@@ -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);
......
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