Solved

Creating IIS Virtual Directory

Posted on 2008-10-07
1
1,002 Views
Last Modified: 2013-11-14
I am distributing a web-based application (Classic ASP) that require to create a virtual directory.

I have created a .bat file to do the following steps (I used Wizard's Apprentice to add gui to my .bat file):
1. Check for IIS presence (if yes setup will goto next step else will display a msg and exit).
2. Install SQL Express Unattended (with named instanse)
3. Install SQL SP2 if the OS is not Windows XP
4. Copy My aplication files to a C:\MyApp
5. Attached the database to SQL Server
6. Add IIS Virtual Directory to IIS to map C:\MyApp folder and enable "Parent Paths" option <=== This is the problem now ===>

The problem is:

I need a command line script to do the following:

1. Create a Virtual Directory (Example path: C:\MyApp)
2. enable "Allow Parent Paths" option.

It will be appriciated if the code will be compatible with both Windows XP (IIS 6) and Vista (IIS 7).

Note: I don't want to copy the aaplication files to inetpub\wwwroot, becuase I try it but the customer is still need to involve with settings of the Virtual Directoy.

0
Comment
Question by:hazemfadl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 23

Accepted Solution

by:
ComputerTechie earned 500 total points
ID: 22688960
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question