[10/10] msi: Skip rollback custom actions.

Hans Leidekker hans at codeweavers.com
Thu Jan 27 04:56:50 CST 2011


Fixes http://bugs.winehq.org/show_bug.cgi?id=25331
---
 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))
     {
-- 
1.7.1






More information about the wine-patches mailing list