Hi
I think there are several answers to your questions, it really depends on your goal.
If you use Ride7 you can program your application by running the debug ("Projec->debug ") if you unselected the option"debug" from the Rlink advanced option it will only program the .hex (please refer to the section 4 of the document you referred)
You can also refer to the stm32-primer manual
It should stands in your c:\Program Files\Raisonance\Ride\Doc\ARM\STM32-Primer\ folder.
Matloub