I have a service running, the service will create a new thread that will start a process.
The process it starts will call an MSI that will essentially stop the original parent service (the service that called the process that started the msi)
As of right now, the process dies off causing the MSI to fail before finishing execution.
startInfo.FileName = "UpdateInstaller.exe";
startInfo.Arguments = "ParentServiceName.exe";
startInfo.UseShellExecute = true;
startInfo.RedirectStandardOutput = false; //Edited as per comment below. Still wont work
new Thread(() =>
{
Thread.CurrentThread.IsBackground = true;
Process.Start(startInfo);
}).Start();
Any ideas on how to run this process but keep it alive, even after the parent dies off?