Commit 08c3d2a5 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Skip rollback custom actions.

parent aae1b210
...@@ -236,7 +236,7 @@ UINT ACTION_CustomAction(MSIPACKAGE *package, LPCWSTR action, UINT script, BOOL ...@@ -236,7 +236,7 @@ UINT ACTION_CustomAction(MSIPACKAGE *package, LPCWSTR action, UINT script, BOOL
} }
else if (type & msidbCustomActionTypeRollback) else if (type & msidbCustomActionTypeRollback)
{ {
FIXME("Deferring rollback only action... rollbacks not supported yet\n"); FIXME("Deferring rollback only action\n");
schedule_action(package, ROLLBACK_SCRIPT, deferred); schedule_action(package, ROLLBACK_SCRIPT, deferred);
} }
else else
...@@ -274,6 +274,12 @@ UINT ACTION_CustomAction(MSIPACKAGE *package, LPCWSTR action, UINT script, BOOL ...@@ -274,6 +274,12 @@ UINT ACTION_CustomAction(MSIPACKAGE *package, LPCWSTR action, UINT script, BOOL
msi_free(actiondata); msi_free(actiondata);
} }
if (type & msidbCustomActionTypeRollback)
{
FIXME("Rollbacks not supported yet\n");
rc = ERROR_SUCCESS;
goto end;
}
} }
else if (!check_execution_scheduling_options(package,action,type)) else if (!check_execution_scheduling_options(package,action,type))
{ {
......
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