title: Running an installer from within C#
body: <p>I need to write code to download and run a program, e.g. notepad++ (npp.5.9.3.Installer.exe) this can be found on the web. 
  I run it with the ProcessStartInfo class. However when I normally execute the notepad++ installer, it will show me a few steps before actually installing, like choose language, path etc. </p>
  
  <p>Is there any way to programatically skip these steps, and install the software? I hope my question is clear. If it helps, I also attach the method that so far only starts the installer</p>
  
  <pre><code>        private int RunFile()
          {
              ProcessStartInfo psi = new ProcessStartInfo(GetFileFullPath());
              psi.WindowStyle = ProcessWindowStyle.Hidden;
              psi.CreateNoWindow = true;
  
              using (Process process = Process.Start(psi))
              {
                  process.WaitForExit();
                  if (process.HasExited)
                      return process.ExitCode;
              }
          }
  </code></pre>
  
  <p>Shall I pass some arguments for this to work? 
  Thank you in advance.</p>
  
  <p>Regards,</p>