[WINESYNC] msi: Implement deferral for standard and custom actions.
[reactos.git] / dll / win32 / msi / custom.c
index 68a25d0..8cb5fd4 100644 (file)
@@ -1260,6 +1260,7 @@ static BOOL action_type_matches_script( UINT type, UINT script )
     switch (script)
     {
     case SCRIPT_NONE:
+        return FALSE;
     case SCRIPT_INSTALL:
         return !(type & msidbCustomActionTypeCommit) && !(type & msidbCustomActionTypeRollback);
     case SCRIPT_COMMIT: