Hans Leidekker : msi: Skip rollback custom actions.
Alexandre Julliard
julliard at winehq.org
Thu Jan 27 12:43:26 CST 2011
Module: wine
Branch: master
Commit: 08c3d2a5ab76221af4f5bd56b30f2ad2394a7025
URL: http://source.winehq.org/git/wine.git/?a=commit;h=08c3d2a5ab76221af4f5bd56b30f2ad2394a7025
Author: Hans Leidekker <hans at codeweavers.com>
Date: Thu Jan 27 11:56:50 2011 +0100
msi: Skip rollback custom actions.
---
dlls/msi/custom.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 5e0cbe0..80e1938 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -236,7 +236,7 @@ UINT ACTION_CustomAction(MSIPACKAGE *package, LPCWSTR action, UINT script, BOOL
}
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);
}
else
@@ -274,6 +274,12 @@ UINT ACTION_CustomAction(MSIPACKAGE *package, LPCWSTR action, UINT script, BOOL
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))
{
More information about the wine-cvs
mailing list