Quite a few people have. Chad has a blog post about it, but that doesn't package it up in a function. Ditto for Saveen Reddy. I have a module (really close to release) with a New-ModuleInstaller cmdlet that allows for easy creation of WiX installers for PowerShell modules, including support for packaging up multiple modules into a single burn installer. Ping me offline, I can share it with you, and I'd like to find out what your needs are to see what I'm missing.