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?
Solved: Managed to suss it out, so main rule is to make sure the xml (.manifest file) is well formatted. Once that is done follow the tutorial, then add both .manifest and .rec file to project and compile and build. If you try to run it you will have the error message: "Unable to create process: The requested operation requires elevation". Not sure why this happens however if you run the .exe it works fine.