throw error if install folder is not specified