PDA

View Full Version : uninstall doesn't remove TARGET folder



desmondfernando
12-15-2001, 01:28 AM
Uninstall removes everything within the TARGET folders except the TARGET folder itself.

I do a ComponentRemoveAll() and I think that uninstall logging is on.

Other installation projects I have work fine.

JacobLevin
12-25-2001, 12:48 PM
Does this happen every time you run the uninstall for this project?

If you make sure to delete that folder before you install, does that happen?

desmondfernando
01-08-2002, 06:15 PM
Yes, this happens everytime - no matter if I have removed the folder manually.

.Carl.
01-10-2002, 01:59 PM
I have the same issue, I know what causes it.

If you have a file that is in use (by a background process your app runs etc) then it won't be deleted until after the reboot. Unfortunately, although it will delete the file after the reboot, it leaves the folder.

the only thing I can think of is to add a command line to the runonce key during the uninstall, but that could get messy.