FarrEver
FarrEver

Reputation: 2981

How do I create an MSI in VS 2008 to install a certificate into Trusted Publisher store on client machine?

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?

Upvotes: 3

Views: 2977

Answers (1)

Shay Erlichmen
Shay Erlichmen

Reputation: 31928

  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.

Upvotes: 2

Related Questions