Issue: running IDM as a Windows service fails when the service was installed with the install-service.bat we provide (in openidm\bin). It claims to install successfully, but fails to start, and generates an unhelpful error.
Cause: We appear to be setting the classpath variable incorrectly. We set it it to bin/launcher.jar;bin/felix.jar, but classpath needs to be full paths according to Java's documentation. If we don't set classpath, launcher.bat /install defaults successfully to C:\path\to\openidm\bin\* and the service then launches and runs IDM without further issues.
Notes: Changing the classpath allows the service to successfully launch, and appears to run successfully as Local System, which may also solve
OPENIDM-5288 (namely, it may run fine with the Local System service account, and the needing to switch to Administrator was a red herring).