Having trouble with uninstalling

Got a problem you cannot solve? Try here.
Post Reply
lilan
Posts: 16
Joined: Wed Mar 25, 2009 6:14 pm

Having trouble with uninstalling

Post by lilan »

Hi,

I'm using the installer to create an virtual folder with sub folders as well. But when I uninstall system, it leave some empty folders and keeps the virtual folder in IIS as well with an error.

Does anyone know how to overcome this error?

Thanks

Lilan
keith
Posts: 39
Joined: Fri Jan 20, 2006 3:38 pm

Post by keith »

Lilan,

Without seeing the actual error message (it would be helpful if you posted it) I would guess that you need to explicitly remove the virtual folder and subfolders. If you used "Create Virtual Folder" to create your IIS folder then you probably need to use the "Delete Virtual Folder" command to remove it.

To remove empty directories by hand you might need to use something like this:

Call DLL Function kernel32.dll->RemoveDirectoryA

I'm not clear on your exact situation so these are just some ideas to consider.

Keith
lilan
Posts: 16
Joined: Wed Mar 25, 2009 6:14 pm

Post by lilan »

Hi Keith,

First of all, thanks for the reply. I have added the code for deleting the virtual folder. But sometimes after uninstalling, some folders won’t get deleted in the local hard drive. There are no files in them. It’s just an empty folder.

Another problem is that, in IIS, the virtual folder won’t get deleted as well.

Thanks

Lilan
Amir_Kavehrad
Posts: 3
Joined: Fri Nov 21, 2008 12:50 pm

Post by Amir_Kavehrad »

Lilan,

Have you tried disabling the Windows Indexing Service? I have noticed IA won't be able to uninstall certain files if that is enabled because the files in question are currently being indexed.
Post Reply