detect https in installer