如何从代码中调用一个exe和绕过UAC可能行动反对呢? [英] How do you call an exe from code and get around possible UAC action against this?
本文介绍了如何从代码中调用一个exe和绕过UAC可能行动反对呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用的System.Diagnostics.Process启动安静模式MSI文件。我发现了一个退出代码1625,我怀疑它,因为UAC阻止其运行。我已经关闭了UAC提示,但没有骰子...
I'm using system.diagnostics.process to start an msi file in quiet mode. I'm getting an exit code 1625, and I suspect its because UAC is preventing it from running. I've turned off the UAC prompts but no dice...
我怎样才能确保我正确地提升,因此实际运行MSIEXEC的特权?
How can I make sure that I'm properly elevating the privileges of the msiexec so it actually runs?
谢谢,
艾萨克
推荐答案
这篇关于如何从代码中调用一个exe和绕过UAC可能行动反对呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文