msi: msidbFileAttributesVital has no effect on the installation of files.
This commit is contained in:
parent
4e467ad729
commit
64a9e0f750
|
@ -750,11 +750,6 @@ static UINT copy_install_file(MSIFILE *file)
|
|||
gle = copy_file(file);
|
||||
TRACE("Overwriting existing file: %d\n", gle);
|
||||
}
|
||||
else if (!(file->Attributes & msidbFileAttributesVital))
|
||||
{
|
||||
TRACE("Ignoring error for nonvital\n");
|
||||
gle = ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
return gle;
|
||||
}
|
||||
|
|
|
@ -4411,22 +4411,22 @@ static void test_sourcefolder(void)
|
|||
MsiSetInternalUI(INSTALLUILEVEL_NONE, NULL);
|
||||
|
||||
r = MsiInstallProductA(msifile, NULL);
|
||||
ok(r == ERROR_INSTALL_FAILURE,
|
||||
"Expected ERROR_INSTALL_FAILURE, got %u\n", r);
|
||||
ok(!delete_pf("msitest\\augustus", TRUE), "File installed\n");
|
||||
todo_wine
|
||||
{
|
||||
ok(r == ERROR_INSTALL_FAILURE,
|
||||
"Expected ERROR_INSTALL_FAILURE, got %u\n", r);
|
||||
ok(!delete_pf("msitest", FALSE), "File installed\n");
|
||||
}
|
||||
|
||||
RemoveDirectoryA("msitest");
|
||||
|
||||
r = MsiInstallProductA(msifile, NULL);
|
||||
ok(r == ERROR_INSTALL_FAILURE,
|
||||
"Expected ERROR_INSTALL_FAILURE, got %u\n", r);
|
||||
ok(!delete_pf("msitest\\augustus", TRUE), "File installed\n");
|
||||
todo_wine
|
||||
{
|
||||
ok(r == ERROR_INSTALL_FAILURE,
|
||||
"Expected ERROR_INSTALL_FAILURE, got %u\n", r);
|
||||
ok(!delete_pf("msitest", FALSE), "File installed\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue