Fission and gamma-emission probabilities induced by transfer or inelastic scattering reactions with light projectile nuclei are very valuable quantities for constraining the models that describe the de-excitation of heavy nuclei. We have developed an experimental set-up that allows us to simultaneously measure fission and gamma-emission probabilities. The measurement of the gamma-emission probability at excitation energies where the fission channel is open is challenging due to the intense background of gamma rays emitted by the fission fragments. We discuss the procedure to subtract such a background and the constraints that this subtraction and other experimental conditions put on the set up. We show that our set-up complies with these constraints.