You are working on an installation for Internet Information Services (IIS). You’ve just finished the necessary changes to the Internet Information Services view in the InstallShield IDE. As far as you can tell, everything is perfect. Except for one thing. When you run the installation, your website isn’t being created in IIS.
No matter how much you stare at your work in the IIS view, you still can not determine what the problem is. Here is one thing that may be the problem.
Take a look at the screenshot below which shows the Internet Information Services view in a typical project.
This is a simple, but typical, installation for IIS. A website, web application, and virtual directory are all defined. Everything looks normal. However, take a look at the Content Source Path.
A lot of people can’t resist the urge to manually enter the Content Source Path. And that is where the problem comes in. Resist your urge to do that. Instead, click the ellipsis button.
When you click the button, a dialog will appear where you can select the Content Source Path from the list. This is what you want to do. Select it from the list. If the folder you need is not there, create it under one of the predefined folders. When you do that, you will have far fewer problems.
I noticed this when I first started working in this view. I always wanted to enter the path manually. Since that time, I have received emails from people who have done the very same thing.
Avoid this mistake and always select the path from the list.
Now, this does not just apply to websites. The Content Source Path also needs to be set for web applications and virtual directories. Same advice goes for them. Select the path from the list.