Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How to Install IIS through Code
 

How to Install IIS through Code

Hi,

In My application i have to install IIS automatically when my application install in User machine (Vista / XP) with out using OS Cd's.

Here My requirement is we have to send MSI to end user. If user system doesn't have IIS and user don't have the knowledge how to install IIS, In this case we have to install through our MSI.


Can any one please guide me how to do this.
  • Moved byWesley YaoMSFTMonday, August 03, 2009 3:39 PMnot msbuild question (From:MSBuild)
  •  
DKChakravrthy  Friday, July 31, 2009 6:26 AM
IIS is a system component - there is no support in MSI for installing Windows components. I don't know what tool you'd use for this (Add/Remove Programs is the normal way) and it might need the original Windows CD installing. It's not difficult to add IIS. Point them to the documentation or tell them how to do it.
Phil Wilson
PhilWilson  Monday, August 03, 2009 8:32 PM
IIS is a system component - there is no support in MSI for installing Windows components. I don't know what tool you'd use for this (Add/Remove Programs is the normal way) and it might need the original Windows CD installing. It's not difficult to add IIS. Point them to the documentation or tell them how to do it.
Phil Wilson
PhilWilson  Monday, August 03, 2009 8:32 PM

You can use google to search for other answers

Custom Search

More Threads

• IIS Frontpage Extension, Sharepoint & ClickOnce
• Visual Studio 2005: Setup project. Installation location and creating shortcuts
• Database location problem
• Could not load file or assembly
• Registering a dll using Setup
• VS2008 deploy : HELP !
• using dialog values in setup project
• ClickOnce keeps installing a demo project
• Reference Files
• Restricted User cannot write to directory