用 VC2005/CLR/Windows Service 工程写的一个服务,安装时失败,安装日志如下,请问该如何解决?
Installing assembly 'F:\Develop\Service\ppsvc\release\ppsvc.exe'.
Affected parameters are:
   logtoconsole = 
   assemblypath = F:\Develop\Service\ppsvc\release\ppsvc.exe
   logfile = F:\Develop\Service\ppsvc\release\ppsvc.InstallLog
Unable to create an instance of the ppsvc.ProjectInstaller installer type.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
The inner exception System.NullReferenceException was thrown with the following error message: Object reference not set to an instance of an object..
Rolling back assembly 'F:\Develop\Service\ppsvc\release\ppsvc.exe'.
Affected parameters are:
   logtoconsole = 
   assemblypath = F:\Develop\Service\ppsvc\release\ppsvc.exe
   logfile = F:\Develop\Service\ppsvc\release\ppsvc.InstallLog
Unable to create an instance of the ppsvc.ProjectInstaller installer type.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
The inner exception System.NullReferenceException was thrown with the following error message: Object reference not set to an instance of an object..