Page 1 of 1

Uninstalling web site

Posted: Tue Aug 29, 2006 5:13 am
by manso
Hi,

When uninstalling a web site that has been installed using

Create IIS Site "$SITENAME$"
Get IIS Index for Site "$SITENAME$" into SITEINDEX
Create Virtual Folder "" in IIS Site #$SITEINDEX$, pointing to physical location $TARGETDIR$\\web

only the Virtual Folder is removed. The web site is left causing the site to report errors when starting IIS Manager. Version is 6.0.

Regards,
-Manso

Posted: Tue Aug 29, 2006 7:12 am
by MichaelNesmith
You need to add the appropriate uninstall commands before Apply Uninstall in your script. The visual IIS Sites view automatically emits this code for you, you can create a dummy site and see the kind of code it creates.