Drag and drop a 10.7+ installer onto the app and it'll create an installer package that creates and updates Recovery partitions. The app with automatically download the required dmtest and cocoaDialog utilities the first time it's run.
Based on Allen Golbig's article on AFP548 and Greg Neagle's blog post.
App created with Platypus and uses cocoaDialog.