Installing a win32 service using MSBuild and Microsoft.Sdc.Tasks
问题 I'm trying to install windows service using the Microsoft.Sdc.Tasks library. <ControlService Action="Install" ServiceName="Service1" User="XXX Password="XXX" ServiceExePath="$(DeployFolder)\XXX.exe"/> But I keep getting prompted for the user and password! This will not work as I'd like to have it as an automated build on the build server. I mean, the user and password that I want to run the service under are in the actual target. How do I get it to install the service using the configured