msi: Don't get rid of the file signature when searching the DrLocator table.
This commit is contained in:
parent
2e17638dc4
commit
7497f1ab5c
|
@ -917,9 +917,6 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATU
|
|||
|
||||
TRACE("%s\n", debugstr_w(sig->Name));
|
||||
|
||||
msi_free(sig->File);
|
||||
sig->File = NULL;
|
||||
|
||||
*appValue = NULL;
|
||||
|
||||
row = MSI_QueryGetRecord( package->db, query, sig->Name );
|
||||
|
|
|
@ -7155,10 +7155,7 @@ static void test_appsearch_drlocator(void)
|
|||
size = MAX_PATH;
|
||||
r = MsiGetPropertyA(hpkg, "SIGPROP4", prop, &size);
|
||||
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
|
||||
todo_wine
|
||||
{
|
||||
ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop);
|
||||
}
|
||||
ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop);
|
||||
|
||||
size = MAX_PATH;
|
||||
sprintf(path, "%s\\one\\two\\three\\FileName2", CURR_DIR);
|
||||
|
@ -7206,10 +7203,7 @@ static void test_appsearch_drlocator(void)
|
|||
size = MAX_PATH;
|
||||
r = MsiGetPropertyA(hpkg, "SIGPROP10", prop, &size);
|
||||
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
|
||||
todo_wine
|
||||
{
|
||||
ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop);
|
||||
}
|
||||
ok(!lstrcmpA(prop, ""), "Expected \"\", got \"%s\"\n", prop);
|
||||
|
||||
DeleteFileA("FileName1");
|
||||
DeleteFileA("FileName3.dll");
|
||||
|
|
Loading…
Reference in New Issue