Hi,
I have a C# application that uses the System.Diagnostics.Process
functionality to execute other processes (to install a couple of .msi
files). Here's my code so far:
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.Arguments = sArgs;
proc.StartInfo.FileName = "msiexec.exe";
proc.StartInfo.WorkingDirectory = sPath;
proc.Start();
proc.WaitForExit();
if (proc.HasExited)
{
exitCode = proc.ExitCode;
}
else
{
proc.Kill();
}
proc.Close();
This all seems to work ok. However, on one or two of the .msi files, I get
an ExitCode of 1603, 1605, or -1. I can't seem to find what these ExitCodes
are referring to. That is, when I get ExitCode 1603, 1605, or -1, what's
the error?
Anyone know what these ExitCodes mean or where to find out more info.?
TIA