2

I had created .msi file to install my C# windows application , i had used wix toolset to create this .msi . while installing this .msi file , it display user account control message with yellow banner as shown in this image User Account Control with yellow banner

it does't display the publisher name although i had wrote it inside the installer.

I want it to appear with blue banner that displays the publisher name as following image User account control with blue banner

Laila
  • 549
  • 1
  • 13
  • 30

1 Answers1

1

The documentation says that you have to sign your msi file using a certificate and signtool.exe. See:

Installer without signature:

uac screenshot

Installer with signature:

uac screenshot

The strange thing here is the MSI name 61913df.msi, the filename originally is SampleSetup1.msi.

Community
  • 1
  • 1
ventiseis
  • 3,029
  • 11
  • 32
  • 49
  • Thanks very much for your help 2 – Laila Mar 03 '16 at 11:58
  • do u have any idea if the signing thing responsible about displaying windows smart screen ?? – Laila Mar 03 '16 at 11:59
  • 1
    @Laila I tried it myself with [this step-by-step instruction](http://stackoverflow.com/questions/84847/how-do-i-create-a-self-signed-certificate-for-code-signing-on-windows) and it worked nice. My installer got a blue uac banner. SmartScreen-filtering seems to be different, see [here](http://stackoverflow.com/questions/12311203/how-to-pass-the-smart-screen-on-win8-when-install-a-signed-application) for an example... – ventiseis Mar 03 '16 at 13:43
  • 1
    Use the `/d` option to provide a description text. In your case `SampleSetup1.msi`. https://msdn.microsoft.com/en-us/library/8s9b9yaz.aspx – st.huber Aug 30 '16 at 07:04