msi: Always create a temporary copy of the package.
This commit is contained in:
parent
47334849c3
commit
33d9f37f4a
|
@ -908,6 +908,8 @@ UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage)
|
||||||
if ( UrlIsW( szPackage, URLIS_URL ) )
|
if ( UrlIsW( szPackage, URLIS_URL ) )
|
||||||
{
|
{
|
||||||
file = msi_download_file( szPackage, temppath );
|
file = msi_download_file( szPackage, temppath );
|
||||||
|
if ( file != szPackage )
|
||||||
|
file = copy_package_to_temp( file, temppath );
|
||||||
|
|
||||||
base_url = strdupW( szPackage );
|
base_url = strdupW( szPackage );
|
||||||
if ( !base_url )
|
if ( !base_url )
|
||||||
|
|
Loading…
Reference in New Issue