c# - What is the best way of automating Windows Service deployment? -
i have created windows service using c# in visual studio 2010. did lot of research automating installation process. got lots of advice none did work me. windows service have created has lots of dependencies , client have no ui interaction during installation. have created setup project includes dependencies within installer. process involved: create build windows service push setup file (.msi) remote location call .msi , install service silently without user interaction. what did far: created powershell script push files remote location execute powershell script , install service please keep in mind powershell script sc create "servicename" binpath="somepath" is used installing service project directory not installing .msi file created using setup project these 2 vast different things. if don't understand don't answer please. possible solutions: use ( http://www.msbuildextensionpack.com/help/4.0.5.0/html/258a18b7-2cf7-330b-e6fe-...