From ded4fbcc3c0d1e5f65cfb4e0e575f111c1e8974a Mon Sep 17 00:00:00 2001 From: Stefan Siebert Date: Wed, 12 Jul 2006 21:02:54 +0200 Subject: [PATCH] msi: cabinet_notify - don't fail on files with the same filepath. --- dlls/msi/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/files.c b/dlls/msi/files.c index 22cec6d658c..534199f0cdf 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -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",