Ah, that's what you want. Well, as I said, I'm not sure if the recovery partition can work that way. But you can try.
If you're worrying about the legality of your Windows installation, I'm not even sure doing it like this is legal. I know that it will probably void your warranty, but I'm not sure if it is a way to obtain/keep your Windows installation legal. So a simpler alternative may be to torrent a Windows 7 ISO instead of bothering to dump a recovery partition onto a DVD.