msi: OriginalDatabase can be a URL so check for a forward slash too.
This commit is contained in:
parent
062070bfbe
commit
186487663a
|
@ -623,8 +623,12 @@ static UINT msi_set_sourcedir_props(MSIPACKAGE *package, BOOL replace)
|
|||
p = strrchrW( db, '\\' );
|
||||
if (!p)
|
||||
{
|
||||
msi_free(db);
|
||||
return ERROR_SUCCESS;
|
||||
p = strrchrW( db, '/' );
|
||||
if (!p)
|
||||
{
|
||||
msi_free(db);
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
len = p - db + 2;
|
||||
|
|
Loading…
Reference in New Issue