msi: Don't assume unversioned files are present.
This commit is contained in:
parent
f08c355e09
commit
9a9faeffd8
|
@ -2002,7 +2002,10 @@ static UINT msi_check_file_install_states( MSIPACKAGE *package )
|
|||
msi_free( file_version );
|
||||
}
|
||||
else
|
||||
file->state = msifs_present;
|
||||
{
|
||||
file->state = msifs_overwrite;
|
||||
comp->Cost += file->FileSize;
|
||||
}
|
||||
}
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
|
|
|
@ -706,7 +706,7 @@ static void test_simple_patch( void )
|
|||
}
|
||||
|
||||
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, "\\" );
|
||||
|
|
Loading…
Reference in New Issue