Windows Service in VB.Net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I created a Windows Service in VB.Net and I tried using the InstallUtil and I
keep getting this error message -- please help

Exception occurred while initializing the installation:
system.io.filenotfoundexception: file or assemble name emailpooler.exe, or
one of its dependencies, was not found..
 
Are you running installutil from a standard command prompt, or from the VS
command prompt? If you are doing it from the standard command prompt, you
have to either run installutil from its folder location, supplying the
complete path to your service exe. If you are running it from the VS command
prompt, run the command within the folder that the exe resides.

Hope this helps.
Dan
 
I do have one other question -- what is the best way to deploy the new
service -- by using the installutil to load it on another computer or by
doing an MSI package... any samples of do this for a Windows Service...
 
Back
Top