OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to package nodejs and install a windows service with NSIS?

  • Thread starter Thread starter ajbs
  • Start date Start date
A

ajbs

Guest
I am currently using os-service to create a Windows service that needs to be packaged with my Electron application. Currently, everything is installed with NSIS, but I'm not quite sure how to install and run an os-service script during installation. Likewise for uninstallation.

Anyone with experience with this? The service is installed using node to run the script.

<p>I am currently using <a href="https://www.npmjs.com/package/os-service" rel="nofollow noreferrer">os-service</a> to create a Windows service that needs to be packaged with my Electron application. Currently, everything is installed with NSIS, but I'm not quite sure how to install and run an <a href="https://www.npmjs.com/package/os-service" rel="nofollow noreferrer">os-service</a> script during installation. Likewise for uninstallation.</p>

<p>Anyone with experience with this? The service is installed using node to run the script.</p>
 
Top