Installing hardware for barn doors