为使用C#创建的Windows服务安装seup时出现错误代码no 2869 [英] error code no 2869 while installing seup for windows service created using C#
本文介绍了为使用C#创建的Windows服务安装seup时出现错误代码no 2869的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遵循与以下链接中建议完全相同的步骤来创建Windows服务
[ ^ ] >
构建状态消息为
I am following exactly the same steps as U suggested in below link to create a windows service
[^]
build status message is "
------ Build started: Project: MyService, Configuration: Debug Any CPU ------
MyService -> C:\Users\artiy\Documents\Visual Studio 2005\Projects\MyService\MyService\bin\Debug\MyService.exe
------ Starting pre-build validation for project 'MyServiceSetup' ------
------ Pre-build validation for project 'MyServiceSetup' completed ------
------ Build started: Project: MyServiceSetup, Configuration: Debug ------
Building file 'C:\Users\artiy\Documents\Visual Studio 2005\Projects\MyService\MyServiceSetup\Debug\MyServiceSetup.msi'...
Packaging file 'MyService.exe'...
========== Build: 2 succeeded or up-to-date, 0 failed, 0 skipped ==========
但是在最后一步我点击了MyServiceSetup中的intasll,它给了我以下错误:
安装程序在安装此软件包时遇到意外错误。这可能表明此包装存在问题。错误代码是2869。
你能帮助我理解为什么会出现这个错误以及我做错了什么?
"
But at last step I click on intasll in MyServiceSetup, it is giving me following error:
"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869".
Can you please help me in understanding why this error is coming and what am I doing wrong?
推荐答案
您需要完成管理安装才能完成安装过程。
尝试http://www.jprog.com/ wiki / How-do-I-resolve-Error-Code-2869-a-Windows-Vista-installation.ashx [ ^ ]。
You will need to complete an ''administrative install'' in order to complete the installation process.
Try http://www.jprog.com/wiki/How-do-I-resolve-Error-Code-2869-during-a-Windows-Vista-installation.ashx[^].
这篇关于为使用C#创建的Windows服务安装seup时出现错误代码no 2869的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文