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 New Issue