使用Visual Studio 2008安装项目帮助将Windows服务部署到64位服务器? [英] Help deploying Windows Service to 64bit Server usinf Visual Studio 2008 Setup Project?
问题描述
我有一个Windows服务,我为Win2003 / 2008 32位服务器创建了一段时间,用Visual Studio 2008编写,通过VS2k8安装项目部署。 一切都很好,安装得很好,并且应该运行。 没有平台相关的代码,它是所有直接的.Net Framework的东西,所以我们认为它应该部署到Win2008 64位服务器就好了。 但似乎并非如此。
在64位操作系统中,由于 文件系统重定向器 ,对于所有32位应用程序,路径 " C:\ Windows \ System32 " 将被解析为" C:\ Windows \SysWOW64 " ;.
当摆脱异常时使用installutil.exe时,您可能需要导航到包含 NPInterfaceService.exe 的文件夹文件。跨度>
I have a Windows Service I created a while back for our Win2003/2008 32bit Servers, written in Visual Studio 2008, deployed via a VS2k8 Setup Project. Everything works great, installs fine, and runs as it should. There is no platform dependent code, it's all straight-up .Net Framework stuff, so we thought it should deploy to a Win2008 64bit Server just fine. But this seems not to be the case.
Hi,
In 64-bit OS, due to the existing of File System Redirector, for all 32-bit applications, path "C:\Windows\System32" will be parsed as "C:\Windows\SysWOW64".
To get rid of the exception when you using installutil.exe, you may need to navigate to the folder which contains NPInterfaceService.exe file.
这篇关于使用Visual Studio 2008安装项目帮助将Windows服务部署到64位服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!