Thread
:
Create a shortcut link which has "Run as administrator" option enabled on Vista
View Single Post
30th November 2010, 20:54
#
20
Anders
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,337
Step 1: Add "Vista" manifest to your app requesting admin rights
Step 2: Your app should call IsUserAnAdmin() when it starts up, if false, ShellExecute yourself again with the runas verb
IntOp $PostCount $PostCount + 1
Anders
View Public Profile
Visit Anders's homepage!
Find More Posts by Anders