The generalized Hénon-Heiles Hamiltonian H = 1/2(P 2 X + P 2 Y + c 1 X 2 + c 2 Y 2 ) + aXY 2 − bX 3 /3 with an additional nonpolynomial term µY −2 is known to be Liouville integrable for three sets of values of (b/a, c 1 , c 2 ). It has been previously integrated by genus two theta functions only in one of these cases. Defining the separating variables of the Hamilton-Jacobi equations, we succeed here, in the two other cases, to integrate the equations of motion with hyperelliptic functions. 1