This is a nice doc explaining the different windows configuration passes (specialize, oobe, generalize, etc).