// Detect It Easy: detection rule file format
// Author: A.S.L <asl@onet.eu>

init("installer", "FDM Installer");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.compareOverlay("'###FDMDATA###'")) {
        if (PE.compareEP("558BEC6AFF6820714000682C364000")) {
            sVersion = "1.0";
            bDetected = true;
        } else {
            sVersion = "x.x";
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}