我在这个论坛上读过其他类似的帖子,我保证!但是他们没有帮我
我想为我的服务应用程序创建一个安装程序(msi),这样它就可以自动安装,而不需要客户使用命令行。我知道这是可以做到的。
我在Windows 7上使用Visual 2008 Team System,我的Windows帐户具有管理权限。我在Windows计算机上安装该服务时也有同样的体验。
以下是我为实现这一目标所做的工作:
两个问题:
我尝试使用InstallUtil手动安装服务器,但也失败了。安装日志是这样的:
Installing assembly 'C:\Program Files (x86)\Autoscribe\Matrix Gemini LIMS\Scheduler\MatrixTaskLauncher.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Program Files (x86)\Autoscribe\Matrix Gemini LIMS\Scheduler\MatrixTaskLauncher.exe
logfile = C:\Program Files (x86)\Autoscribe\Matrix Gemini LIMS\Scheduler\MatrixTaskLauncher.InstallLog
Installing service MatrixTaskLauncherService...
Creating EventLog source MatrixTaskLauncherService in log Application...
Rolling back assembly 'C:\Program Files (x86)\Autoscribe\Matrix Gemini LIMS\Scheduler\MatrixTaskLauncher.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Program Files (x86)\Autoscribe\Matrix Gemini LIMS\Scheduler\MatrixTaskLauncher.exe
logfile = C:\Program Files (x86)\Autoscribe\Matrix Gemini LIMS\Scheduler\MatrixTaskLauncher.InstallLog
Restoring event log to previous state for source MatrixTaskLauncherService.这说明不了多少。:-(
提亚
发布于 2013-12-18 16:09:44
原来是服务应用程序的错误(不知道是什么)。我从解决方案中删除了它,并创建了一个新的解决方案,添加了我的工作类代码,嘿,presto,它安装了服务,我也可以启动它。
https://stackoverflow.com/questions/20654805
复制相似问题