Skip to content

Commit

Permalink
Fix: 2021-10-07
Browse files Browse the repository at this point in the history
  • Loading branch information
horsicq committed Oct 7, 2021
1 parent eeab7a4 commit 10d0d19
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion db/Binary/MS Compound.1.sg
Expand Up @@ -6,7 +6,24 @@ function detect(bShowType,bShowVersion,bShowOptions)
{
if(Binary.compare("D0CF11E0A1B11AE1"))
{
sVersion="MS Office 97-2003 or MSI etc.";
var nSub1=Binary.readWord(0x200);
var nSub2=Binary.readWord(0x1000);

if((nSub1==0)&&(nSub2==0xFFFD))
{
sType="installer";
sName="Microsoft Installer(MSI)";
}
else if(nSub1==0xA5EC)
{
sType="format";
sName="MS Office 97-2003";
}
else
{
sVersion="MS Office 97-2003 or MSI etc.";
}

bDetected=1;
}

Expand Down

0 comments on commit 10d0d19

Please sign in to comment.