UAC elevation- NSIS script
I created installer via NSIS. "c:\program files\myapp" is default folder for my application.Included script to run myapp on startUp.I'm having windows 7 But it always fail to start on start-up of machine. How can I elevate the user privileges to call it on startup from Program files/myapp.exe. or Is any other alter开发者_如何学JAVAnative to achieve above goal.
You can't elevate at user login (How fun would it be for the user to get a UAC dialog each time?)
You'll need to embed a UAC manifest in your application
Issue got resolved. - tried User Access Pluggin.
You could launch an elevated cmd prompt and then execute the exe from the cmd prompt
精彩评论