Uninstalling web site

Got a problem you cannot solve? Try here.
Post Reply
manso
Posts: 15
Joined: Wed Aug 23, 2006 9:47 am

Uninstalling web site

Post 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
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply