francoiste Posted November 14, 2015 Share Posted November 14, 2015 (edited) technically speaking what's the difference between the following two:1)#RequireAdmin2)#pragma compile(ExecLevel, requireAdministrator)obviously the second one works for "compiled" scripts, only.but are there any other differences?in the documentation those two are not even cross-linked in the "related" paragraph. Edited November 14, 2015 by francoiste Link to comment Share on other sites More sharing options...
Developers Jos Posted November 14, 2015 Developers Share Posted November 14, 2015 (edited) #RequireAdmin will re-shell the EXE when it isn't running at the right elevation level.The #Pragma() statement will set the MANIFEST in the created EXE to the requested level which means the OS will handle the proper elevation at startup.Jos Edited November 14, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now