开发者

UAC elevation- NSIS script

开发者 https://www.devze.com 2022-12-26 17:19 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消