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

function detect(bShowType,bShowVersion,bShowOptions)
{
    var _sVersion = PE.getVersionStringInfo("SquirrelAwareVersion");
    
    if (_sVersion != "") {
        sVersion = _sVersion;
        if (sVersion == "1") {
            sVersion = "1.0.0-1.9.1";
        }
    
        bDetected = 1;
    }

    return result(bShowType,bShowVersion,bShowOptions);
}
