System.Diagnostics.Process process = new System.Diagnostics.Process(); System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(); startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden; startInfo.FileName = "cmd.exe"; startInfo.Arguments = "C:\\Test\\Winservice1.exe /install /silent"; process.StartInfo = startInfo; process.Start();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)