views:

736

answers:

1

What are the steps needed to create a VS 2008 MSI setup and deployment file to install a custom created certificate/key onto a client's machine?

+2  A: 
  1. The proper way is to use Wix3 instead of Visual Studio Deployment Project, Wix has the Certificate element which is pretty robust.
  2. If you still want to use Visual Studio Deploy Project then take a look at this answer on how to install certificates using C#. You will need to warp this code inside an Installer class and sequence it inside the deploy project.
Shay Erlichmen
WiX is a great solution for this. Thank you!
FarrEver

related questions