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,9 +623,13 @@ static UINT msi_set_sourcedir_props(MSIPACKAGE *package, BOOL replace) ...@@ -623,9 +623,13 @@ static UINT msi_set_sourcedir_props(MSIPACKAGE *package, BOOL replace)
p = strrchrW( db, '\\' ); p = strrchrW( db, '\\' );
if (!p) if (!p)
{ {
p = strrchrW( db, '/' );
if (!p)
{
msi_free(db); msi_free(db);
return ERROR_SUCCESS; return ERROR_SUCCESS;
} }
}
len = p - db + 2; len = p - db + 2;
source = msi_alloc( len * sizeof(WCHAR) ); source = msi_alloc( len * sizeof(WCHAR) );
......
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