Windows service folder
I need that when I install the jsReports Windows service with the command "win-install", I can tell you somewhere or by parameter the folder where the service is installed.
In other words, nowadays the service always installs it in C: \ user_xx \ Tmp \ jsreport \ ...
Is it possible that it can be passed as a parameter?
From already thank you very much!
Hi! the services is installed from the directory in which the app is present, for example if my project lives on
C:\workspace\jsreport2.8.0and i run
jsreport win-installthen the windows services is installed and started from
What if my folder where it is has a space?
C: \ Program files (x86) \ ...
i don't get it, does not work when your folder has a space? if so, what is the error message?
I execute the installer from this folder:
"C:\Program Files (x86)\Common Files\dev"
And jsReports cut at the first space: ("C:\ Program")
"Failed to start service jsreport-server-exe. Program C:\Program couldn't be launched. CreateProcess() failed: The system cannot find the file specified."
I confirm this as a bug. Currently, you can't use
win-installcommand inside a path with spaces.
I apologize for this bug. We have the fix ready and it will be part of the next jsreport release.
But I don't know when the next update comes.
Please use a path without spaces now.
Or install the service on your own without using the
You can use this utility for example https://nssm.cc/