customized or official service task added by default in a project archetype?

Posted on

I am figuring out if it is available a way to include a rest service task (or any other service task) installation in the project archetype we are preparing.
I have found the official way, and a lot of other places. All of them explain it is necessary to click on "install" button in "project settings -> Service Tasks -> (whatever service task) Install button".
I have seen all the files that are included in the project when the button is clicked (xxx.wid, deployments configurations, etc), but I cannot figure out if something more it is happening in the background when install button is clicked.
With this premises, my question is: There is a way to install a service task by default in a project archetype? A way that it is not necessary to do anything manually...

Thanks in advance.