有没有办法让adobe air应用程序在运行时要求以管理员权限运行? [英] Is there a way for a adobe air application to ask for to be run as with administrator privileges when it runs?

查看:262
本文介绍了有没有办法让adobe air应用程序在运行时要求以管理员权限运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个需要以管理员权限运行的应用程序。有没有办法强制uac提示时,应用程序启动在Adobe AIR?

I have an application that needs to run at administrator privileges. Is there a way to force a uac prompt when the application starts in adobe air?

我运行另一个EXE从我的应用程序,如果我运行我的应用程序作为管理那么它将运行EXE弹出的uac提示符,但如果我没有得到一个UAC提示每一次我运行EXE内的应用程序女巫可能会发生很多,变得非常快速。

I am running another exe from inside my application and if I run my application as a admin then it will run the exe with out popping up the uac prompt but if i don't i get a uac prompt every single time i run the exe inside the application witch could happen a lot and gets old very fast.

推荐答案

您可以使用bat文件启动另一个应用程序:

You can launch the another application with a bat file with:

 runas /user:Administrator anotherApp.exe

这篇关于有没有办法让adobe air应用程序在运行时要求以管理员权限运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆