2

When I install my application on Win7, Windows shows installation dialog saying 'Unknown Publisher'. What should I do to get rid of it?

andrey_sz
  • 751
  • 1
  • 13
  • 29
  • possible duplicate of [Setting the UAC 'Publisher' Field for a NSIS Installer](http://stackoverflow.com/questions/10581570/setting-the-uac-publisher-field-for-a-nsis-installer) – Anders Jun 26 '12 at 19:21

1 Answers1

1

Simply: you need a certificate from the certification authority and sign your binary. The certificate AFAIK is not for free and it is time-limited. For details see this answer.

Community
  • 1
  • 1
zbynour
  • 19,747
  • 3
  • 30
  • 44
  • But I can't understand how can I get this certificate ? – andrey_sz Jun 26 '12 at 14:42
  • ...And how then can I use this certificate for changing field "Publisher"? – andrey_sz Jun 26 '12 at 15:16
  • First you need to buy a code signing certificate (e.g. VeriSign) and sign the installer by that. Publisher field then should be extracted from the digital signature. I was going to sign our installer some time ago but finally we decided not to do it (that's why I wrote 'afaik', according to my research) so I have no experience with final signing process. But there is solution in the linked accepted answer. – zbynour Jun 27 '12 at 06:44
  • 1
    You would need to *buy* a certificate if you want the publisher displayed because you want your certificate to be trusted by Windows. If you use a self-signed or a certificate from non-trusted certificate authority, Windows won't display the publisher. – Alexey Ivanov Jun 27 '12 at 16:44