c# - Install Windows Service during Setup installation using VS2010 -
c# - Install Windows Service during Setup installation using VS2010 -
i have windows service separate ser.exe file. install using command prompt installutil -i "ser.exe path".
also, have setup project like this windows application.
now , want install ser.exe during setup install. how this?
-firstly add together ser.exe installation directory -in solution exp right click set-up project >>view>>custom actions>>install right-click >>add custom action -now give path of installation directory reach ser.exe click ok(this wil execute command prompt installation you)
i have tried separate project service set-up , works me
-first of create separate service project -then create set-up project , select primary output service project.
c# windows-services setup-project
Comments
Post a Comment