Hans Leidekker : msi: Always create a temporary copy of the package.

Alexandre Julliard julliard at winehq.org
Tue Oct 20 10:33:38 CDT 2009


Module: wine
Branch: master
Commit: 33d9f37f4a34533a543446a54f69d4d212db89d7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=33d9f37f4a34533a543446a54f69d4d212db89d7

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Oct 20 14:09:08 2009 +0200

msi: Always create a temporary copy of the package.

---

 dlls/msi/package.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index fa0cd6f..1d34770 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -908,6 +908,8 @@ UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage)
         if ( UrlIsW( szPackage, URLIS_URL ) )
         {
             file = msi_download_file( szPackage, temppath );
+            if ( file != szPackage )
+                file = copy_package_to_temp( file, temppath );
 
             base_url = strdupW( szPackage );
             if ( !base_url )




More information about the wine-cvs mailing list