msi: cabinet_notify - don't fail on files with the same filepath.

This commit is contained in:
Stefan Siebert 2006-07-12 21:02:54 +02:00 committed by Alexandre Julliard
parent 494841d3e5
commit ded4fbcc3c
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ static INT_PTR cabinet_notify(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
TRACE("extracting %s\n", debugstr_w(f->TargetPath) );
handle = CreateFileW( f->TargetPath, GENERIC_READ | GENERIC_WRITE, 0,
NULL, CREATE_NEW, FILE_ATTRIBUTE_NORMAL, NULL );
NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL );
if ( handle == INVALID_HANDLE_VALUE )
{
ERR("failed to create %s (error %ld)\n",