waltervl wrote: ↑Thursday 11 March 2021 11:57
The issue on github is reopened for the windows logging.
Can you test if the installation creates or edits the Regkey entries for logging?
Found the culprit: the file path is created in the registry, but without quotes.
So, if the Domoticz log is in a path name with spaces inside, like "Program Files (x86)" nssm.exe wil stumble over the path.
That is most likely the reason why some people (@waaren) experience no problem when installing. Their path doesn't contain spaces
Because of this, I asked @gizmocuz to add the quotes, but apparently the quotes are removed somewhere in the process of writing the registry.
EDIT:
The quotes are there, but InnoSetup seems to remove them. (I'm not familiar with InnoSetup).
EDIT2:
Change your log file to a another path that does not contain spaces, f.e. C:\Users\<user>\Domoticzlog\domoticz.log and everything works fine.