What are the main stages of a policy installation?