I tried that and got the following exception when trying to install
the service
An exception occurred during the Install phase.
System.InvalidOperationException: Unable to create an instance of the
MyService.ProjectInstaller installer type.
The inner exception System.Reflection.TargetInvocationException was
thrown with the following error message: Exception has been thrown by
the target of an invocation..
The inner exception System.TypeInitializationException was thrown with
the following error message: The type initializer for
'MyService.ProjectInstaller' threw an exception..
The inner exception System.DivideByZeroException was thrown with the
following error message: Attempted to divide by zero..
So, I have basically given up and think that I should just protect
each dll one by one.
Mun Wai