I am trying to apply a Manifest file to my delphi application so that it can run with administrative permissions, I have been following this Tutorial part Faking UAC Rights - How to Request Execution Level.
I have got to step 6 where I start getting problems, I have added the .REC file and .Manifest file to the project and also added
to the project file as required in tutorial. After compiling I run the application and then recieve the following error:
"Unable to create Process: The Application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command line sxstrace.exe tool for more detail".
Can anyone explain what Is going on and how I can resolve it?
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0> <assemblyIdentity version="18.104.22.168" processorArchitecture="X86" name="TriumphTestABS.exe" type="win32"/> <description>elevate execution level</description> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges> <requestedExecutionLevel level="requireAdministrator" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly>
Oh and im using Delphi Embarcadero RAD Studio XE IDE.
Let me know if you need any other information.
Edited 4 Years Ago by DesignGhosts: n/a