为 IIS 7 应用程序运行 setup.exe 时立即出错
我们为客户提出了申请。该应用程序是.NET/Silverlight 4,在 IIS7 上运行。我们还使用 VS2010 中的“Web 安装项目”模板制作了一个安装程序。
在我们的本地计算机和测试环境中,安装程序始终运行良好。在客户的开发环境上,它也运行得很好。但客户随后建造了一台全新的机器来用于完整的 UAT。当安装程序在该计算机上运行时,它立即失败并提示:
“安装不完整:安装程序在安装之前被中断。您需要重新启动安装程序并重试。单击关闭退出”
.NET 4 已安装,Silverlight 已安装已安装,并且已安装 IIS 7.5。
仅此而已。没有指示错误是什么,只是立即显示消息。有什么想法吗?
We made an application for a client. The app is .NET/Silverlight 4, running on IIS7. We also made an installer using the "Web Setup Project" template from VS2010.
On our local machines, and in our test environment, the installer always worked fine. And on the client's Dev environment, it worked fine as well. But the client then built a completely new machine to use for full UAT. When the installer ran on that machine, it immediately failed and stated:
"Installation Incomplete: The installer was interrupted before could be installed. You need to restart the installer and try again. Click Close to exit"
.NET 4 is installed, Silverlight is installed, and IIS 7.5 is installed.
That is all. No indication of what the error was, just that immediate message. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要检查的一件事是客户是否安装了 IIS6 兼容性位。我有一种感觉,即使在 IIS7.x 上,这仍然是需要的。
如果生成了安装程序日志,我还会检查安装程序日志,看看是否有任何内容跳出。还值得仔细浏览服务器的事件日志,看看是否有任何记录。
One thing to check is whether the customer installed the IIS6 compatibility bits. I have a feeling this is still needed even on IIS7.x.
I'd also check the installer log if one got generated to see if anything jumps out. And it's also worth having a trawl through the server's event logs to see if anything got logged there.