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.
This commit is contained in:
parent
31c461ea5b
commit
4121c9bbc6
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue