Web安装在安装时崩溃 [英] Web setup crashes while installation
本文介绍了Web安装在安装时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
如果未在计算机上设置IIS,则Web应用程序设置会在安装时崩溃.
是否可以找到是否已设置IIS并警告用户的方法?
在此先感谢
Hello all,
If IIS is not setup in a machine, the web application set up crashes while installation.
Is there a way to find whether IIS is set up already and warn the user if not?
Thanks in advance
推荐答案
查看这些
http://stackoverflow.com/questions/435050/how-to-determine-installed- iis-version [ ^ ]
http://stackoverflow.com/questions/1978634/如何以编程方式检查该iis托管远程运行中 [
Check out these
http://stackoverflow.com/questions/435050/how-to-determine-installed-iis-version[^]
http://stackoverflow.com/questions/1978634/how-to-programmatically-check-that-iis-hosted-remoting-is-running[^]
处理代码中的异常,具体取决于发生异常时,在安装向导上显示错误消息.
Handle the exception in your code and depending upon the exception occurred , display the error message on your installation wizard.
我已经使用Visual Studio设置向导的启动条件属性解决了这个问题.
I have solved this by using launch condition property of visual studio set up wizard.
这篇关于Web安装在安装时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文