Question: 3
I'm trying to install a Windows Service using a batch file, let's call it "setup.bat". Inside the file I have the following commands:

```
"%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\installutil" "MyService.exe"

```

When I excute the batch file (running as administrator on windows7) I get this:

Exception occurred while initializing the installation:
System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Win
dows\system32\MyService.exe' or one of its dependencies. The system cannot f
ind the file specified.. 
The actual service is located at 
`"SomeRandomLocation\MyService.exe".`
the bat file is 
`"SomeRandomLocation\setup.bat"`

what is going on? how do I force it to install from my "setup.bat" folder?

**this should work dynamicly. meaning in any folder!**

Answer: 
For my own usage I created a small .bat file:

```
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe" %1

```

And now, when I want to install service I just drag .exe file on the .bat. Works perfect :)
Have you tried setting working directory to C:\Services?