coreybutler / node-windows

Windows support for Node.JS scripts (daemons, eventlog, UAC, etc).
Other
2.79k stars 358 forks source link

Question: How can I build the Windows Service exe? #205

Closed sGambolati closed 6 years ago

sGambolati commented 6 years ago

Hi! I'm pretty new with this project. I wonder if is possible to run the a cmd to build the .exe in a CI build server. I know that running the .js will build and install the app, but as I want to build binaris without need of installing.

Thanks!

coreybutler commented 6 years ago

This project doesn't specifically generate binaries, meaning that's not the primary purpose. Since it does do this as part of setting up the service, you could cherry-pick the code for it, but there's nothing out of the box that's well suited for CI purposes. You're likely better off directly using winsw if your goal is just to build the binary.

jdziat commented 6 years ago

I agree with @coreybutler and don't think this is a relevant issue to pursue. If you need help generating a xml file to use with winsw there should be available libraries for that.

Closing this as it's not pertinent to this project.

Check out the winsw: documentation for more specifics.

sGambolati commented 6 years ago

Ok. Thanks.

El mié., 21 de mar. de 2018 21:32, Jordan Dziat notifications@github.com escribió:

I agree with @coreybutler https://github.com/coreybutler and don't think this is a relevant issue to pursue. If you need help generating a xml file to use with winsw there should be available libraries for that.

Closing this as it's not pertinent to this project.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/coreybutler/node-windows/issues/205#issuecomment-375139932, or mute the thread https://github.com/notifications/unsubscribe-auth/ADHbcKRs-rM7YfYZKwscafhLscVBMMc-ks5tgvEGgaJpZM4SpOoJ .