c++ - Install Windows Service and Console Application using a single setup and deployment -


i have created console application works background app in c++. trying run application through windows service start automatically if app crashed.

what can't create windows service can trigger xxx.exe.

how can make windows service , background application single setup file installation ?