Hello all
I have a simple C# application which have a process and pass some .msi file to it to run , but I want to pass some arguments with the that file like MSIEXC/X to uninstall this msi from my machine , but when do that I get the error message of the MSI installer that this command doesnt exit what I did is as the following:
ProcessStartInfo PSI = PSI = new ProcessStartInfo(ExePath);
string arg="MSIExec /X";
PSI.UseShellExecute = true ;
PSI.Arguments = arg;
System.Diagnostics.Process p = System.Diagnostics.Process.Start(PSI);
p.WaitForExit();
please if any body get what I mean and can help me please send me or tell me about some url may help me in doing that
Regards
Mosatafa