title: When creating a service with sc.exe how to pass in context parameters?
body: <p>When creating Windows service using:</p>
  
  <pre><code>sc create ServiceName binPath= "the path"
  </code></pre>
  
  <p>how can arguments be passed to the Installer class's Context.Parameters collection? </p>
  
  <p>My reading of the <code>sc.exe</code> documentation is that such arguments could only be passed on the end of <code>binPath</code>, but I have not found an example or been able to successfully do this.</p>