ram prakash
ram prakash

Reputation: 11

Unknown Publisher issue with installer(exe/msi) build with visual studio 2019

I'm using Visual Studio 2019 to build "Installers(msi/exe)" using "Setup Wizard". When i'm trying to run setup.exe or msi installer, the application "publisher" is being reported as "Unknown".

I've gone through some references and found that the setup.exe needs to be digitally signed with the certificate. So, i've digitally signed the installers(exe/msi) with this reference How do I create a self-signed certificate for code signing on Windows?

Now, when i try to run setup.exe locally, the application "publisher" is reported as "My CA" instead of "Unknown", but if i run the same setup.exe on another system/computer application "publisher" is reported as "Unknown". Please provide any suggestions on fixing this "Unknown Publisher" issue

Upvotes: 0

Views: 4937

Answers (1)

KargWare
KargWare

Reputation: 2183

You need an official code signing certificate for be "known". I do not know if there are vendors which provide it for free, I don't think so. When you are using a self-signed cert, you have to install the cert (including the whole tree of the cert chain) in "trusted root certification authorities" on all machines where you plan to install your setup.msi.

There are two types of certs:

  • Extended Validation (EV) Code Signing (very expensive, more secure)
  • Code Signing (expensive but normally enough for private / small companies)

Upvotes: 1

Related Questions