I've tried a few, UAC Powertoys and ElevatorRunner. Anybody have anything else, or a quick and dirty manifest guide? Thanks in advance
Thanks for those, maybe I should clarify; I need to elevate UAC privileges from an installer I've written. It works great if you choose "run as administrator", but some users dont, which causes alot of problems. So I'm looking for a tool to auto-elevate UAC that I can include in my installer, or if someone could give me a sample .manifest file to play with and some ideas on how to properly add it to my package....
Manifest file: COPY BELOW, Save as same name of the exe. (MyApp.exe.manifest) <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="ExeName" 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>
Thanks Blazer1, Imust be doing something wrong. I'm still getting UAC popups. This is the manifest I'm playing with: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="setup.exe" type="win32"/> <description>elevate execution level</description> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges> <requestedExecutionLevel level="highestAvailable" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly> Any ideas as to what I'm doing wrong?