Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想以管理员权限ExecWait在 NSIS中执行,我无法找到有关此问题的任何文档。
ExecWait
一般来说,我会建议整个安装程序应该在这样的情况下运行提升,它预先让用户清楚地知道需要提升。
如果您不能这样做,那么您应该确保您要运行的程序请求管理员权限。为此,您需要使用ExecShell启动程序。
如果该程序不要求管理员权限,您基本上有两种选择:
ExecShell