473,748 Members | 2,214 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Uninstall won't delete Program Files

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?
Nov 16 '05 #1
2 6852
Hi Smith...

I got the same problem, too.
My application creates some new files, but these files can't be delete after
uninstall 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?

Nov 17 '05 #2
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?


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2654
by: Gary Feldman | last post by:
Since I prefer to keep all my installed programs in one place, I went ahead and installed Python in Program Files/Python. The command line shell seems to work just fine, and I'm able to import things like urllib and its dependencies. However, I can't get Idle to startup. When I try running it manually (i.e. python ...idle.py), I get E:Program: can't open file 'Files\Python\python.exe Obviously this is an error in in parsing the path...
44
4056
by: Xah Lee | last post by:
here's a large exercise that uses what we built before. suppose you have tens of thousands of files in various directories. Some of these files are identical, but you don't know which ones are identical with which. Write a program that prints out which file are redundant copies. Here's the spec. -------------------------- The program is to be used on the command line. Its arguments are one or
1
2350
by: alloowishus | last post by:
I have some records that will not delete, whenever I run a delete statement in the Query analyzer, it never completes the statement, and I am only deleting one record at a time. Can anyone tell me why a record wouldn't delete?
3
1081
by: Mamatha | last post by:
Hi I want to delete or clean all files when i click on uninstall. How can i do this ,if any one knows the solution please let me know,this is very urgent need for me Thanks in advance. Mamatha
0
1314
by: Shrage H. Smilowitz | last post by:
Hi, I have created a setup project in vs.net, i have included several merge modules, but when i test the installation on my development machine i dont want the uninstall to remove the files that are included in the merge modules, because it remove the files necossary to for development. How can i prevent the uninstall from removing that files. I know that normal project files i can set the permanent property to true and will not be...
2
2288
coolgames
by: coolgames | last post by:
when i try to delete a file from my ftp, it says: (i couldn't access the FTP trough "windows explorer" i had to use www.ftpglobal.com) Warning: ftp_delete() : Permission denied on server. You are restricted to your account. in /home/random9/public_html/includes/filesystem.inc.php on line 415 Warning: ftp_chdir() : Permission denied on server. You are restricted to your account. in /home/random9/public_html/includes/filesystem.inc.php on...
0
1234
by: pstve | last post by:
Hi, I have a program (A), which installs a program B when installing A. The program B will be located on C:\\Program Files...\Program B But I also would like the Program B to uninstall when I'm uninstalling A. Program B has an "Uninstall.exe" file which I would like to use when uninstalling A. how do I reach this one? I'm using Add/Remove programs when I'm uninstalling A (windows installer). I'm using Custom Actions for the...
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8831
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9552
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8245
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.