msi: Always create a temporary copy of the package.

This commit is contained in:
Hans Leidekker 2009-10-20 14:09:08 +02:00 committed by Alexandre Julliard
parent 47334849c3
commit 33d9f37f4a
1 changed files with 2 additions and 0 deletions

View File

@ -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 )