I\'m trying to install a service using InstallUtil.exe but invoked through Process.Start
. Here\'s the code:
ProcessStartInfo startInfo = new Pro
According to the article Chris Corio: Teach Your Apps To Play Nicely With Windows Vista User Account Control, MSDN Magazine, Jan. 2007, only ShellExecute
checks the embedded manifest and prompts the user for elevation if needed, while CreateProcess
and other APIs don't. Hope it helps.
See also: same article as .chm.