Click here to Skip to main content
15,910,234 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 19-Apr-12 2:52am
v3
Comments
bbirajdar 18-Apr-12 9:17am    
Is the 'user' going to install the web application ? I think some professional guy who has the knowledge of deployment and IIS does it.. Am I right?

 
Share this answer
 
Comments
Sebastian T Xavier 17-Apr-12 5:03am    
this is fine. we can check that programmatic. But how i can handle that in a setup project
Handle the exception in your code and depending upon the exception occurred , display the error message on your installation wizard.
 
Share this answer
 
Comments
Sebastian T Xavier 19-Apr-12 8:49am    
Thanks for your reply? If possible please show me an example.
Sebastian T Xavier 19-Apr-12 8:52am    
I heard that, we can use "launch condition" property of set up wizard to achieve my requirement, but when I tried it it didn't work for me. condition=^IISINSTALLED4CONFIG = "NoIIS"^ . this is the code i have used.
can you look into it?
bbirajdar 20-Apr-12 2:34am    
If you want us to look into it, you need to post the code for the installer
I have solved this by using launch condition property of visual studio set up wizard.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900