Installation/Update of Windows Service - Set proper directory

Hi all,

I would like to ask about: “Can I set custom directory for Installation/Update of Windows Service”?

For instance:
I would like to have Windows Service in the C:\MyServices\ServiceA

but when i click “Deploy Now” it will install service in the C:\Octopus\Applications\Test\ServicePackage\1.0.0\

and after each deploy it will create new folder and delete/install service again like:
C:\Octopus\Applications\Test\ServicePackage\2.0.0
C:\Octopus\Applications\Test\ServicePackage\3.0.0
C:\Octopus\Applications\Test\ServicePackage\4.0.0\

and so on…

Can I somehow set installation folder like C:\MyServices\ServiceA because i would like install my service every time in the same folder.

Thanks inadvance!

Regards,
//Sergey Boiko

Hi Sergey,

Thanks for getting in touch. That’s totally possible, here’s how: http://docs.octopusdeploy.com/display/OD/Custom+Installation+Directory

Hope that helps!
Dalmiro

Hello Dalmiro,

Thanks you very much for help, it looks like i just did not notice this in documentation :slight_smile: So, i fixed my configurations and it works like a charm!

Thank you and have a good day :slight_smile:

Regards,
//Sergey Boiko