Quantcast
Viewing latest article 2
Browse Latest Browse All 4

Answer by Isaac Bolinger for How do you call an exe from code and get around possible UAC action against this?

ProcessStartInfo startInfo = new ProcessStartInfo();startInfo.Arguments = "/i "+"\""+Directory.GetCurrentDirectory()+"\\"+msiPath +"\""+" /q";startInfo.FileName = "msiexec.exe";startInfo.Verb = "runas";Process installProcess = Process.Start(startInfo);

Well, this is what I did, and it works.


Viewing latest article 2
Browse Latest Browse All 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>