AssemblyInstaller - How to override different properties

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top