1

We're having the following situation. An .MSI file, after being signed using signtool.exe, will show the following UAC prompt: enter image description here

The same .MSI file, after being signed with a custom tool that uses the CryptUIWizDigitalSign API, shows the following UAC prompt: enter image description here

We want to make sure the .MSI file displays the "Our awesome application" text in the UAC prompt, not some id generated by the MSI engine.

We've tried filling the field pwszDescription in the CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO structure:

A pointer to a null-terminated Unicode string that contains the description of the subject of the signature.

but this did not work.

Is there another field we can use for that?

Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
Dan
  • 1,927
  • 2
  • 24
  • 35
  • Possible duplicate of [The UAC prompt shows a temporary random Program Name for msi, can the correct name be displayed?](https://stackoverflow.com/questions/4315840/the-uac-prompt-shows-a-temporary-random-program-name-for-msi-can-the-correct-na) – S.Spieker Jul 02 '18 at 14:19
  • It is not a duplicate question, the guy was using signtool.exe, while we're using a custom tool. – Dan Jul 03 '18 at 07:09

1 Answers1

0

In the end filling the pwszDescription field worked fine, I can only assume we were making some other error.

Dan
  • 1,927
  • 2
  • 24
  • 35