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.
i used sc , installed .exe file windows service, when try start service throws me error 1053: service did not respond start in timely fashion.
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
Post a Comment