Commit 18648766 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: OriginalDatabase can be a URL so check for a forward slash too.

parent 062070bf
...@@ -623,8 +623,12 @@ static UINT msi_set_sourcedir_props(MSIPACKAGE *package, BOOL replace) ...@@ -623,8 +623,12 @@ static UINT msi_set_sourcedir_props(MSIPACKAGE *package, BOOL replace)
p = strrchrW( db, '\\' ); p = strrchrW( db, '\\' );
if (!p) if (!p)
{ {
msi_free(db); p = strrchrW( db, '/' );
return ERROR_SUCCESS; if (!p)
{
msi_free(db);
return ERROR_SUCCESS;
}
} }
len = p - db + 2; len = p - db + 2;
......
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