Hello all
I have list of objects , and every object have a attributes about some setupfile, like the it's path, name ...etc
and I have looped through this list of object to create some process for every object in the list and pass the setfile path to it to be installed by that process , but I want to display some windows form before the setupfile be runining by the process to indicates the user that some setup file will be run, the code I have created is as the following:
foreach (ProductConfiguration obj in lstProductConfig)
{
//I want to add some code to display some window form here before runing the process and not freez the main win form
ProcessStartInfo PSI = new ProcessStartInfo(obj.ExePath);
PSI.WindowStyle = ProcessWindowStyle.Hidden;
PSI.CreateNoWindow = false;
PSI.UseShellExecute = false;
PSI.RedirectStandardOutput = true;
PSI.CreateNoWindow = true;
System.Diagnostics.Process p = System.Diagnostics.Process.Start(PSI);
p.WaitForExit();
}
please if any body get what I mean and can help me in doing that please send me or tell me about some url may help me in doing that
Regards
Mostafa