add optionresolver to installtype,admintype