I would like to create an installation for my windows service. My Windows service dll is located in the / lib / folder.
I added the installer class service. And added a custom action to the installation project.
The problem is that when I try to install the service - it fails with the error: Error 1001. Unable to get installer types in ...
This error occurs because the dlls are not in the same directory as the .exe service. I use probing in the service configuration and the util installation does not recognize this probing.
I wanted to find work for this problem and tried in many ways to create a service using the service controller (sc.exe). Trying to run it as a custom action using cmd.exe. Etc ..
This should be a common problem ... will anyone find a suitable solution for this?
source
share