[solved] Win10 build always as admin
BlitzMax Forums/BlitzMax Programming/[solved] Win10 build always as admin
| ||
I've got a strange issue (that some might find usefull, but actually, it's not) I can't tell why and how, and it 's only since few hours (I didn't make any change to anything, so it's really weird) On windows 10, BlitzMax (using the standard MaxIDE) keeps on compiling my program with administrator privileges ... The fact is, I really need it doesn't, because I need the application to be launched by another application, from a local path and needs access to the file without admin rights requirement I checked all exe from the blitzmax/bin directory so as the MaxIDE, everything is set to user privileges (and "run as admin" is not checked in the compatibility panel) So, there is not much reason the applications are built with the shield and all that comes with Any idea how to solve this ? [edit] I also tried to log out from windows and come back, problem is still there |
| ||
I managed to solve the problem by adding a manifest. It's not a long term solution, but I don't often create application that are designed to be called by another program. Then if you encounter the same problem you might save this as "Your Application Name.exe.manifest" It will overrides the UAC privileges for the application. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" uiAccess="false"/> </requestedPrivileges> </security> </trustInfo> </assembly> |