I'm developing a document management solution that generates self-extracting .exe's with 7zip, then signs them with signtool... Looking at the generated .exe, I can inspect the signature by looking at the signatures tab of the properties dialog, but I want the "Are you sure you want to run..." prompt, with the signature details presented in the Publisher field. Why is windows letting me run this .exe without confirmation? What do I have to do to see "Are you sure you want to run"?
Asked
Active
Viewed 92 times
1 Answers
0
That's because it does not require administrator privileges. Add a .exe.manifest
(MSDN) file that has requireAdministrator
set.
See also difference between highestAvailable
and requireAdministrator

Community
- 1
- 1

Thomas Weller
- 55,411
- 20
- 125
- 222
-
1In terms of my self-extracting exe, it seems to depend on the module I use. If I Use 7zCon.sfx, no prompt. If I use 7z.sfx, I get the prompt. – bbsimonbb Nov 16 '16 at 13:31