构建状态消息为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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的.. 09-07 00:18