Physical folder not removed for IIS virtual folder

For all your non-technical questions.
william_mda
Posts: 9
Joined: Mon May 07, 2007 12:11 pm

Physical folder not removed for IIS virtual folder

Postby william_mda » Tue Oct 16, 2007 6:08 pm

Hi,

My installer was trying to install 2 web services (asmx) and 1 regular web site (aspx). All 3 are sitting in their own folder on the file system, and own virtual folder on IIS. Deployment works fine and removal does delete all 3 virtual folders from IIS. But somehow for the 2 web services, an empty root file system folder were left behind under Program Files, while the root folder for the regular aspx site were removed fine.

Rebooting the machine didn't help, folder were still there (folder not locked). I can manually remove the folder from explorer so it's not a permission issue. All 3 virtual folders were setup the exact same way on InstallAware, but just the 2 folders where left. All 3 folders and files were included from the same wildcard on InstallAware so nothing were set to persistent.

Any idea? Thanks!

William

CandiceJones
Posts: 904
Joined: Thu Dec 22, 2005 7:03 pm
Contact:

Postby CandiceJones » Tue Oct 16, 2007 6:40 pm

If for whatever reason there is a problem with removal, just manually delete the folders using Call DLL Function and the RemoveDirectoryA API in kernel32.dll - that will work as long as the folder really isn't locked!
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Non-Technical”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 88 guests