mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 19:28:40 +00:00
msi: The assembly file version field is optional.
This commit is contained in:
parent
1fc61f0838
commit
7d837b9f82
|
@ -6076,7 +6076,7 @@ static UINT load_assembly(MSIRECORD *rec, LPVOID param)
|
|||
/* FIXME: we should probably check the manifest file here */
|
||||
|
||||
if (!MsiGetFileVersionW(assembly->file->TargetPath, version, &size, NULL, NULL) &&
|
||||
strcmpW(version, assembly->file->Version) >= 0)
|
||||
(!assembly->file->Version || strcmpW(version, assembly->file->Version) >= 0))
|
||||
{
|
||||
assembly->installed = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue