Hi Friends,
I have created web setup for my web application.
If i double click the file "WebSetup1.msi" it is giving the message that "Please install IIS and run this setup again".Can I download IIS from any website.Or is there any other method to solve this.
Please mention the site link or details.
please help me.

Thank U very much.
Regards

Dani AI

Generated

As found, WebSetup1.msi fails when it cannot detect an IIS host. and were correct to look at OS/feature differences; the important point is that many MSI-based web installers expect an IIS instance (virtual directory, application pool, handlers) before they can complete. Missing the IIS component can mean an OS edition that does not include the web server, a server that still needs the Web Server role added, or simply that a lighter-weight local host would be a better fit for development.

Practical options and checks:

  • Confirm the Windows edition with winver and look for C:\inetpub\wwwroot or browse http://localhost to see if any web root responds; absence suggests no IIS runtime is present.
  • For quick local debugging without changing OS features, use IIS Express (lightweight, downloadable from Microsoft) instead of full IIS; it runs per-user and accepts published site folders. See IIS Express overview: IIS Express overview.
  • For production/staging installs, the Web Server role must be added on a server machine (use Server Manager on Windows Server). Guidance on adding roles/features is here: .
  • If the MSI still fails after installing IIS, run it elevated, check the Windows Event Viewer under MsiInstaller, verify the World Wide Web Publishing Service is running, and ensure the required .NET version is registered with IIS (older frameworks may require aspnet_regiis -i or the appropriate server feature for ASP.NET).

These steps avoid downloading IIS from third-party sites and provide both development and deployment paths depending on the target environment.

You can install IIS as follows:
1)Go to control Panel
2)Go to Add/Remove Windows Components
3)Check IIS n Click OK

Thank U for your reply.
In Add/Remove window there is no IIS

Thank U,
Regards

Which OS are you running? If it is Windows Server operating system, the you need to select "Application Server" in order to install the necessary server services including IIS. If you are on Vista or Seven, you can do this using "Turn On or Off Windows Features"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.