Stefan Siebert : msi: cabinet_notify - don'
t fail on files with the same filepath.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jul 14 10:51:04 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: ded4fbcc3c0d1e5f65cfb4e0e575f111c1e8974a
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ded4fbcc3c0d1e5f65cfb4e0e575f111c1e8974a
Author: Stefan Siebert <stefan.siebert at ssiebert.de>
Date: Wed Jul 12 21:02:54 2006 +0200
msi: cabinet_notify - don't fail on files with the same filepath.
---
dlls/msi/files.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/files.c b/dlls/msi/files.c
index 22cec6d..534199f 100644
--- a/dlls/msi/files.c
+++ b/dlls/msi/files.c
@@ -232,7 +232,7 @@ static INT_PTR cabinet_notify(FDINOTIFIC
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",
More information about the wine-cvs
mailing list