msi: Don't assume unversioned files are present.
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index a4af27c..fb1346b 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -2002,7 +2002,10 @@
             msi_free( file_version );
         }
         else
-            file->state = msifs_present;
+        {
+            file->state = msifs_overwrite;
+            comp->Cost += file->FileSize;
+        }
     }
 
     return ERROR_SUCCESS;
diff --git a/dlls/msi/tests/patch.c b/dlls/msi/tests/patch.c
index 7e8d453..92eee6c 100644
--- a/dlls/msi/tests/patch.c
+++ b/dlls/msi/tests/patch.c
@@ -706,7 +706,7 @@
     }
 
     size = get_pf_file_size( "msitest\\patch.txt" );
-    todo_wine ok( size == 1002, "expected 1002, got %u\n", size );
+    ok( size == 1002, "expected 1002, got %u\n", size );
 
     strcpy( path, CURR_DIR );
     strcat( path, "\\" );