question

petergzli-9225 avatar image
0 Votes"
petergzli-9225 asked petergzli-9225 commented

How do I bypass the User Account Control publisher unknown warning for a classic C++ application?

110733-screen-shot-2021-06-30-at-11741-pm.png



Please see the screenshot. I am trying understand what the approach is for signing a classic C++ windows application so that I can Publish with a known publisher. I am currently following this blog for instructions on how to sign: https://mkaz.blog/code/code-signing-a-windows-application/

If I'm not mistaken, I need to obtain a Microsoft Authenticode certificate. With this key and the above instructions for code signing, I should be able to package an app with our business/developer profile.

I just want to confirm that this warning and these steps are the correct approach since these certificates are quite expensive so I didn't want to make that purchase but end up with the incorrect instructions.

c++microsoft-authenticator
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RLWA32-6355 avatar image
0 Votes"
RLWA32-6355 answered petergzli-9225 commented

You should understand that when UAC is enabled you will still receive a consent prompt when attempting to run a signed application as an administrator. The difference will be the nature of the prompt and the information that it displays.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @RLWA32-6355 thanks for speedy response!

Yes, I'm aware we're going to be required to display this consent regardless. I should have specified I meant to change the "Unpublished" to our developer profile.

0 Votes 0 ·