Commit 4121c9bb authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: If the package is a URL, the OriginalDatabase property should be the URL…

msi: If the package is a URL, the OriginalDatabase property should be the URL and the DATABASE property should be the path to the local temporary package.
parent 31c461ea
......@@ -932,7 +932,12 @@ UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage)
if( file != szPackage )
track_tempfile( package, file );
if( szPackage[0] != '#' )
if( UrlIsW( szPackage, URLIS_URL ) )
{
MSI_SetPropertyW( package, OriginalDatabase, szPackage );
MSI_SetPropertyW( package, Database, db->path );
}
else if( szPackage[0] != '#' )
{
MSI_SetPropertyW( package, OriginalDatabase, szPackage );
MSI_SetPropertyW( package, Database, szPackage );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment