title: BadImageFormatException error in using InstallUtil tool
body: <p>I have created and compiled my windows service using .NET 4.0
  So I go to .NET 4.0 folder and say something like this:
  I copied the bin folder to C drive to make path shorter:</p>
  
  <blockquote>
    <p>InstallUtil.exe "C:\bin\Debug\MyTestService.exe"</p>
  </blockquote>
  
  <p>and this is the error I get:</p>
  
  <blockquote>
    <p>Exception occurred while initializing the installation:
    System.BadImageFormatException: Could not load file or assembly
    'file:///C:\bin Debug\MyTestService.exe' or one of its dependencies.
    An attempt was made to load a program with an incorrect format..</p>
  </blockquote>
  
  <p>So I don't know what to do. </p>