The behavior you are seeing is by design the setup Project remembers what
files it lays down and will not delete other ones incase some other app
placed and needs the files located there. You can however work around this
by adding a custom action to the uninstall portion of the setup project,
the custom action could delete any other files in that folder as well as
the folder if required.
I hope that helps.
Todd Derksen
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: Uninstall won't delete Program Files
Hi Smith...
I got the same problem, too.
My application creates some new files, but these files can't be delete
afteruninstall the app.
The error message is like this...
"These files are read-only or use by another program......"
But they just some txtfiles and sure no other program lock them.
thanks for any help.
"Keith Smith" wrote:
I have noticed that when I uninstall my app it doesn't delete the
Program Files / MyApp folder if there are "new" files in it that weren't there
before. It deletes all files except the "new" ones. Is there a way to
make an uninstall so that it just completely wipes out my Program Files /
MyApp folder no matter what?