Thread: RunAsAdmin
View Single Post
Old 7th July 2011, 16:17   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
To ExecWait an exe as admin, see here: http://forums.winamp.com/showthread.php?t=287227
I guess to Exec without Wait you can just call shellexecuteex without worrying about process handles.

(I found it by using the search function. Keyword 'admin', search in titles only, show results as threads, NSIS forum only.)

(Note: Running an exe As Admin will ALWAYS require the user to enter credentials. It would be bad if you could just run something as admin without the admin password!)
MSG is offline   Reply With Quote