Commit 4553d0fd authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Remove an invalid setting of the install state.

parent 39b87470
......@@ -2116,7 +2116,6 @@ static UINT msi_check_file_install_states( MSIPACKAGE *package )
{
file->state = msifs_missing;
comp->Cost += file->FileSize;
comp->Installed = INSTALLSTATE_INCOMPLETE;
continue;
}
......@@ -2130,7 +2129,6 @@ static UINT msi_check_file_install_states( MSIPACKAGE *package )
{
file->state = msifs_overwrite;
comp->Cost += file->FileSize;
comp->Installed = INSTALLSTATE_INCOMPLETE;
}
else
file->state = msifs_present;
......
......@@ -3482,7 +3482,10 @@ static void test_publish(void)
/* complete install */
r = MsiInstallProductA(msifile, "FULL=1");
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
ok(pf_exists("msitest\\maximus"), "File not installed\n");
todo_wine
{
ok(pf_exists("msitest\\maximus"), "File not installed\n");
}
ok(pf_exists("msitest"), "File not installed\n");
state = MsiQueryProductState("{7DF88A48-996F-4EC8-A022-BF956F9B2CBB}");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment