delete wwwroot subdirectory and virtual directory when web application is uninstalled

Discussion in 'ASP .Net' started by Loane Sharp, Apr 22, 2006.

  1. Loane Sharp

    Loane Sharp Guest

    Hi there
    I have a web application created in Visual Studio 2005. The web application
    is installed in a subdirectory of the wwwroot directory, which is mapped in
    turn to a virtual directory (IIS, Windows XP). When the web application is
    uninstalled from Control Panel > Add/Remove Programs, the wwwroot
    subdirectory and IIS virtual directory are not deleted. Do you know how can
    I delete/remove them during the uninstall? Will the install project need to
    run with special permissions to be able to do this?
    Best regards
    Loane
    Loane Sharp, Apr 22, 2006
    #1
    1. Advertising

  2. Virtual directory detail will be deleted when you removed IIS.
    Only those related physical folders and files will still be there, you have
    to delete it manually.

    --
    Regards,
    Bernard Cheah
    http://www.iis-resources.com/
    http://www.iiswebcastseries.com/
    http://msmvps.com/blogs/bernard/


    "Loane Sharp" <> wrote in message
    news:...
    > Hi there
    > I have a web application created in Visual Studio 2005. The web
    > application is installed in a subdirectory of the wwwroot directory, which
    > is mapped in turn to a virtual directory (IIS, Windows XP). When the web
    > application is uninstalled from Control Panel > Add/Remove Programs, the
    > wwwroot subdirectory and IIS virtual directory are not deleted. Do you
    > know how can I delete/remove them during the uninstall? Will the install
    > project need to run with special permissions to be able to do this?
    > Best regards
    > Loane
    >
    Bernard Cheah [MVP], Apr 24, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rajesh Patel
    Replies:
    0
    Views:
    3,593
    Rajesh Patel
    Jan 4, 2004
  2. moon
    Replies:
    3
    Views:
    8,961
    Thomas Fritsch
    Sep 20, 2005
  3. tcc.se7en
    Replies:
    1
    Views:
    255
    tcc.se7en
    Mar 13, 2007
  4. JS
    Replies:
    3
    Views:
    179
  5. lofenee
    Replies:
    3
    Views:
    126
    Ben Bullock
    Apr 22, 2008
Loading...

Share This Page