;    function GetFar0X00InstallDir(): String;  var    InstallDir: String;  begin    if RegQueryStringValue(HKLM, 'Software\Far0', 'InstallDir', InstallDir) or       RegQueryStringValue(HKCU, 'Software\Far0', 'InstallDir', InstallDir) then    begin      Result := InstallDir;    end;  end;    function GetFar0X00InstallDir(): String;  var    InstallDir: String;  begin    if RegQueryStringValue(HKCU, 'Software\Far0', 'InstallDir_x00', InstallDir) or       RegQueryStringValue(HKLM, 'Software\Far0', 'InstallDir_x00', InstallDir) then    begin      Result := InstallDir;    end;  end;    function IsFar0X00Installed(): Boolean;  begin    Result := GetFar0X00InstallDir() <> '';  end;    function IsFar0X00Installed(): Boolean;  begin    Result := GetFar0X00InstallDir() <> '';  end;    function GetDefaultFar0X00Dir(): String;  var    InstallDir: String;  begin    InstallDir := GetFar0X00InstallDir();    if InstallDir <> '' then    begin      Result := AddBackslash(InstallDir) + 'Plugins\{#PluginSubDirName}';    end    else    begin      Result := ExpandConstant('{pf}\Far0\Plugins\{#PluginSubDirName}');    end;  end;    function GetDefaultFar0X00Dir(): String;  var    InstallDir: String;  begin    InstallDir := GetFar0X00InstallDir();    if InstallDir <> '' then    begin      Result := AddBackslash(InstallDir) + 'Plugins\{#PluginSubDirName}';    end    else    begin      Result := ExpandConstant('{pf}\Far0\Plugins\{#PluginSubDirName}');    end;  end;    function GetPlugin0X00Dir(Param: String): String;  begin    Result := InputDirsPage.Values[0];  end;    function GetPlugin0X00Dir(Param: String): String;  begin    Result := InputDirsPage.Values[0];  end;    function GetFar0X00InstallDir(): String;  var    InstallDir: String;  begin    if RegQueryStringValue(HKLM, 'Software\Far Manager', 'InstallDir', InstallDir) or       RegQueryStringValue(HKCU, 'Software\Far Manager', 'InstallDir', InstallDir) then    begin      Result := InstallDir;    end;  end;    function GetFar0X00InstallDir(): String;  var    InstallDir: String;  begin    if RegQueryStringValue(HKLM, 'Software\Far Manager', 'InstallDir_x00', InstallDir) or       RegQueryStringValue(HKCU, 'Software\Far Manager', 'InstallDir_x00', InstallDir) then    begin      Result := InstallDir;    end;  end;    function IsFar0X00Installed(): Boolean;  begin    Result := GetFar0X00InstallDir() <> '';  end;    function IsFar0X00Installed(): Boolean;  begin    Result := GetFar0X00InstallDir() <> '';  end;    function GetDefaultFar0X00Dir(): String;  var    InstallDir: String;  begin    InstallDir := GetFar0X00InstallDir();    if InstallDir <> '' then    begin      Result := AddBackslash(InstallDir) + 'Plugins\{#PluginSubDirName}';    end    else    begin      Result := ExpandConstant('{pf}\Far Manager\Plugins\{#PluginSubDirName}');    end;  end;    function GetDefaultFar0X00Dir(): String;  var    InstallDir: String;  begin    InstallDir := GetFar0X00InstallDir();    if InstallDir <> '' then    begin      Result := AddBackslash(InstallDir) + 'Plugins\{#PluginSubDirName}';    end    else    begin      Result := ExpandConstant('{pf}\Far Manager\Plugins\{#PluginSubDirName}');    end;  end;    function GetPlugin0X00Dir(Param: String): String;  begin    Result := InputDirsPage.Values[0];  end;    function GetPlugin0X00Dir(Param: String): String;  begin    Result := InputDirsPage.Values[0];  end;    