msi: Implement msidbLocatorTypeFileName in RegLocator searches.

This commit is contained in:
Juan Lang 2006-10-02 14:19:42 -07:00 committed by Alexandre Julliard
parent 8c2cdf7b6f
commit 4b99bf02c0
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);