First, install SafeFLEXlmInstaller.msi

Run the licgen.exe, and put the generated safe.lic file into "C:\Program Files\FlexServer\"
(or "C:\Program Files (x86)\FlexServer\" on Windows 64bit)

Run C:\Program Files\FlexServer\BatchFiles\restartService.bat

Now, install the program

When asked for a license, select "Connect to a floating license server"
   Server Name: localhost
Select the license type you like
Click "Activate", "Finish"
	
Note: You can re-run the licensing wizard if you wish to change the licensing type later.
      Run the FME Licensing Wizard (from the Windows Start button, Programs, FME Desktop 2011,
	  Administrative Tools, FME Licensing Assistant)

Enjoy.