Authenticode signing Bootstrappers produced from Setup Projects

Mike Wade, VS2005 Bootstrapper author and all-around nice guy wrote a blog entry about authenticode signing Bootstrappers produced from Setup Projects.  It's almost magical what you can do with MSBuild and a little time.

I would encourage you to read his post over at Re-inventing the Wheel:
https://blogs.msdn.com/mwade/archive/2006/10/03/A-PostBuild-Step-that-Does-Something.aspx