msi: Actions should be run even if the installed state is the same as the requested state.

This commit is contained in:
James Hawkins 2008-09-08 00:56:24 -05:00 committed by Alexandre Julliard
parent 8733ec8326
commit 8a9ba8f73f
2 changed files with 1 additions and 7 deletions

View file

@ -793,9 +793,6 @@ BOOL ACTION_VerifyComponentForAction( const MSICOMPONENT* comp, INSTALLSTATE che
if (!comp)
return FALSE;
if (comp->Installed == check)
return FALSE;
if (comp->ActionRequest == check)
return TRUE;
else

View file

@ -3511,10 +3511,7 @@ static void test_publish(void)
/* complete install */
r = MsiInstallProductA(msifile, "FULL=1");
ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r);
todo_wine
{
ok(pf_exists("msitest\\maximus"), "File not installed\n");
}
ok(pf_exists("msitest\\maximus"), "File not installed\n");
ok(pf_exists("msitest"), "File not installed\n");
state = MsiQueryProductState("{7DF88A48-996F-4EC8-A022-BF956F9B2CBB}");