def install_app_zip(res_client, app_data):
    """
    Installs the app the Appliance that res_client is connected to

    :param res_client: required for communication back to resilient
    :type res_client: resilient.co3.SimpleClient obj
    :param app_data: Dict with info of app to install (Normally the response.json() of the result of upload_app_zip()
    :type app_data: dict
    :return: Response after uploading the app.zip
    :rtype: requests.Response obj
    """
    app_id = app_data.get("id")

    current_installation = app_data.get("current_installation", {})
    current_installation_id = current_installation.get("id")
    current_installation_items = current_installation.get("items")
    current_installation_executables = current_installation.get("executables")
    current_installation_customizations_count = current_installation.get("customizations_count")

    install_payload = {
        "id": current_installation_id,
        "status": "installing",
        "items": current_installation_items,
        "executables": current_installation_executables,
        "customizations_count": current_installation_customizations_count
    }

    uri = "/apps/{0}/installations/{1}".format(app_id, current_installation_id)
    return res_client.put(uri, install_payload)