Changed the application in app.manifest this line
<requestedExecutionLevel level="asInvoker" uiAccess="false" /> on this
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> The program is trying to write a new file to the directory in Program Files, but an error is displayed: "Access is denied on the path \" c: \ Program Files (x86) \ aaa \ aaa.exe \ ".".
If I change the rights to the folder of the group "Users (pc / Users)", it turns out, but initially there were no rights (to write and change), it turns out my changes to app.manifest have no effect, the launch comes from users and not from administrator, but why? UAC is disabled for me, so when launching a launch message on behalf of the administrator, it is not displayed, and if enabled, it is still not displayed when launching the application, such a feeling that changes in app.manifest are ignored. What could be the problem?