msi: Implement msidbLocatorTypeFileName in RegLocator searches.
This commit is contained in:
parent
8c2cdf7b6f
commit
4b99bf02c0
|
@ -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");
|
||||
}
|
||||
|
||||
MsiCloseHandle( hpkg );
|
||||
DeleteFileA(msifile);
|
||||
|
|
Loading…
Reference in New Issue