I want to test the installation of the application.And use next code:
            var pathToInstaller = ConfigurationManager.AppSettings["DesignerApp"];
            var psi = new ProcessStartInfo
            {
                CreateNoWindow = true,
                FileName = pathToInstaller,
                UseShellExecute = true,
                Arguments = "/quiet",
                Verb = "runas"             
            };
            var process = Process.Start(psi);
            process.WaitForExit();
But still there is a window with the presentation of the rights of the administrator.What am I doing wrong?
 
     
    