mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
msi: Handle searching for directories in the IniLocator part of the AppSearch action.
This commit is contained in:
parent
c48497d0e6
commit
29c0836fcc
@ -539,7 +539,7 @@ static UINT ACTION_AppSearchIni(MSIPACKAGE *package, LPWSTR *appValue,
|
||||
switch (type & 0x0f)
|
||||
{
|
||||
case msidbLocatorTypeDirectory:
|
||||
FIXME("unimplemented for Directory (%s)\n", debugstr_w(buf));
|
||||
ACTION_SearchDirectory(package, sig, buf, 0, appValue);
|
||||
break;
|
||||
case msidbLocatorTypeFileName:
|
||||
*appValue = app_search_file(buf, sig);
|
||||
|
@ -6935,10 +6935,7 @@ static void test_appsearch_inilocator(void)
|
||||
sprintf(path, "%s\\", CURR_DIR);
|
||||
r = MsiGetPropertyA(hpkg, "SIGPROP6", prop, &size);
|
||||
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
|
||||
todo_wine
|
||||
{
|
||||
ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop);
|
||||
}
|
||||
ok(!lstrcmpA(prop, path), "Expected \"%s\", got \"%s\"\n", path, prop);
|
||||
|
||||
size = MAX_PATH;
|
||||
sprintf(path, "%s\\", CURR_DIR);
|
||||
|
Loading…
Reference in New Issue
Block a user