"Use the installation wizard to choose between either a and b, or to install both of them simultaneously."
or is it
"Use the installation wizard to choose between either a or b, or to install both of them simultaneously."

Also, is there a comma before the second or, am I omitting any other comma(s), is it grammatically correct to have such a structure even, should I restructure it ;0