-
An application uses nssm as services manager.
What is the reason and how to fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
Presumably nssm registers itself as an event source if you use it to install the service. https://stackoverflow.com/questions/58538/how-do-you-create-an-event-log-source-using-wix |
Beta Was this translation helpful? Give feedback.
-
A little progress.
Unfortunately not, all events start with "The description for Event ID #### from source nssm cannot be found." Even though I now find 2 entries under HKLM\System\CurrentControlSet\Services\EventLog\Application\NSSM:
Maybe because I added ssm.exe is not a typo, saltstack compiled it's own nssm and left out the "n" in the file name (not in the event source) I see no difference between the registry settings after Nullsoft and Wix installs. I have not tried to reboot as this is not an option.
Do you mean this log?
No need, as the file is found.
Yes Question remains: is it possible to register nssm as event log application? |
Beta Was this translation helpful? Give feedback.
-
Thank you both. |
Beta Was this translation helpful? Give feedback.
-
I created a very small Python program for testing. I noted that after install:
This proves that WiX can install nssm as a service. After uninstall:
I assume this is perfectly expected behavior. After installation of the same msi again:
This surprises me. After building the installer with a new component GUID (at ABC123 below) and install, without reboot:
I assume that the underlying problem is nssm, which is unsupported.
|
Beta Was this translation helpful? Give feedback.
I created a very small Python program for testing.
I noted that after install:
Service nssm-test-loop received START control, which will be handled.
This proves that WiX can install nssm as a service.
After uninstall:
I assume this is perfectly expected behavior.
After installation of the same msi again: