Closed Benajax closed 4 years ago
Error: 'The installation path should end with a .exe' What path did you use?
The installation path is: $(System.DefaultWorkingDirectory)/_WebPlatform-CI/drop/Demo.Service/bin/Release/Demo.Service.exe
and has same setting as the Artifact Path.
The install path is where the service should be installed. C:\Services\Demo.Service.exe
if the Demo.Service is already installed on the server you may need to uninstall it first.
Thanks Dejulia489. The services files are being copied to the server but the installation is throwing some errors because of the command line arguments. What goes into the Install Arguments field? Any examples?
.
You can leave it empty
Uncheck the TopShelf box if the service is not a topshelf service
Service is a topshelf service. Installation is failing on arguments that's why I am wondering how to format the arguments in the Install Arguments field. Screenshot attached.
Hi Dejulia489 I think I have figured it out. The Service Name doesn't have to have spaces. Everything is installing ok now. I will drop something in the box. Thankls for your help.
Glad this worked out, closing the ticket.
Hi,
I am trying to use the extension on Azure DevOps (with the deployment group option) to deploy a TopShelf windows service but I am getting the an installation Path error and I am not sure what the path should be. Screenshot is attached.