Page 1 of 1

Having trouble with uninstalling

Posted: Tue Apr 21, 2009 11:58 pm
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

Posted: Wed Apr 22, 2009 1:38 pm
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

Posted: Wed Apr 29, 2009 8:54 pm
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

Posted: Thu May 21, 2009 12:07 pm
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.