Installing an executable file as a Windows service -


i have packaged .exe file when executed execute .bat file. need install .exe file windows service.

i have used sc , installutil.exe this.

  1. i used sc , installed .exe file windows service, when try start service throws me error 1053: service did not respond start in timely fashion.

  2. when tried install using installutil.exe, unable install, throws error

    c:\windows\microsoft.net\framework64\v2.0.50727>installutil.exe c:\meiyappan\code-apr2\datadirector\bin\agent.exe microsoft (r) .net framework installation utility version 2.0.50727.5420 copyright (c) microsoft corporation. rights reserved.

    exception occurred while initializing installation: system.badimageformatexception: not load file or assembly 'file:///c:\meiyappan\code-apr2\datadirector\bin\agent.e xe' or 1 of dependencies. module expected contain assembly manifest..

i find other alternatives firedeamon pro , srvany.exe, concern generic across machine.

i find generic solution this. appreciated.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -