Process process = new Process(); process.StartInfo.FileName = @"msiexec.exe"; process.StartInfo.Arguments = string.Format(@"/i E:\My Steup Files\Installer.msi"); process.StartInfo.UseShellExecute = false; process.StartInfo.RedirectStandardInput = true; process.StartInfo.RedirectStandardOutput = true; process.StartInfo.RedirectStandardError = true; process.StartInfo.CreateNoWindow = false; process.Start(); process.WaitForExit();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)