L
Loy
Task: Want to build general service in dll with minimum code in the
exe
This should serve few different services that might run on the same
machine
Problem:
Can't use dll assembly (Well - you CAN register it but you can't start
it)
Can't set installer and service instance in early stage
e.g. in order to set different service name
Can't add parameters to the service path (e.g. "MyService.exe"
myparam1 myparam2)
- You can do it if you register the service using sc.exe, or if you
change the registry entry after install
Hopefully you'll prove me wrong and show me that I can register to
installer events and have much better control over the process
exe
This should serve few different services that might run on the same
machine
Problem:
Can't use dll assembly (Well - you CAN register it but you can't start
it)
Can't set installer and service instance in early stage
e.g. in order to set different service name
Can't add parameters to the service path (e.g. "MyService.exe"
myparam1 myparam2)
- You can do it if you register the service using sc.exe, or if you
change the registry entry after install
Hopefully you'll prove me wrong and show me that I can register to
installer events and have much better control over the process