can i use client task to do first time agent installation because i think that task doesn't work. it work properly when use to deploy product . If i wanna do frst time installation i need to manual click deploy agent
Yes that's by the design of the product. First time agent installation can't be done by client task.