add parameter to setup installation type as 'clinet' or 'server'.