In have an application where i want to start an install of another program and the user must be administrator. To do this i do the following:
var info = new ProcessStartInfo();
info.FileName = fileName;
info.Verb = "runas";
info.UseShellExecute = false;
Process.Start(info);
This works fine except that the user must be administrator and the prompt for UAC does not show up. I have read that Verb should be "runas" and UseShellExecute should be false. But it does simply not work. Any ideas why? :)