App setup.exe on CD-ROM; problem deleting the app folders.

  • Thread starter Thread starter George
  • Start date Start date
G

George

VB.net 2003 standard, XP windows home edition.

Installed first application OK today.
When I removed the application via Control Panel, there were no
problems and the app folders were deleted.

But when I installed the app from a CD-ROM (Release folder is in D:),
when I remove the app in Control Panel these problems occur:
Control Panel does not delete the application folders.
When I try to delete them I get message "Cannot delete file: Cannot
read from the source file or disk."

The only way to delete them is install the app again, delete the
folders first then remove the app in Contol Panel.

I've been using the book "Visual Basic.Net Step by Step" (Michael
Halvorson) and didn't notice any different procedures if the app is
deployed on CD-ROM.
Does the client need to copy the Release folder to C:drive first?

Thanks,
George
 
This doesn't sound right, the uninstall should work correctly.

However, have you tried uninstalling with the CD in the drive?
 
If you distribute the Release folder on CDROM:

Can the user execute the setup.exe from the CDROM or does the user
need to copy it first to the C: drive?

Does anybody know of a problem removing an application, where Control
Panel does not delete the application folders?

What does "Cannot delete file: Cannot read from the source file or
disk."
mean, (when trying to delete a vb.net application folder)?

Has anybody tested the common scenario described in my first post?

Thanks,
George
 
I'm not sure what causes the error, but I think the Windows Installer team
understands this better.

The general design is that you shouldn't have to have the source media in
the drive, since some part of the original .msi database is supposed to be
cached for uninstall purposes.

Typically, this works great. Occasionally, it doesn't.

I'm glad you were able to get it completely uninstalled, and you are able
to uninstall other stuff well.


---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: (e-mail address removed) (George)
Newsgroups: microsoft.public.dotnet.languages.vb
Subject: Re: App setup.exe on CD-ROM; problem deleting the app folders.
Date: 3 Apr 2004 17:17:57 -0800

Since the last post, I've been trying to duplicate this for problem
isolation, but have not been able to do it.
I know it was a real error message; it obviously has been experienced
by many others, but if you can't make an error occur, it's impossible
to find the source.

I've been successful with both methods from a CD:
Right click / install on the .msi file
Double click on the Setup.Exe file

When I later remove the app via Control Panel, it deletes the
application folder OK.

Note, if the app creates a setting file to store user preferences, the
file is not deleted; Control Panel does not delete what it did not
create; the user preferences are retained.

George


(e-mail address removed) (George) wrote in message
David,

Yes it works OK if the CDROM is installed; the app folder is deleted
by Control Panel.

I did a web search on "Cannot delete file: Cannot read from the source
file or disk."

Evidently this is caused by several other reasons; it may be an XP
problem.
I don't install many software packages and then remove them, so I
don't know what's normal, but in the few times I've removed a package
in last several years I don't remember seeing this message.

Why should the user need to find the CDROM from the original
installation?

And why doesn't CP ask the user to insert the CDROM, instead of
causing an ugly situation where the folder cannot be deleted?

Until I find the solution, I'm telling the clients (my family - this
is not a commercial thing yet) to copy the Release folder to the main
drive first.

How do I submit this to Microsoft problem desk?

Thanks,
George


(e-mail address removed) (David Guyer [MS]) wrote in message
This doesn't sound right, the uninstall should work correctly.

However, have you tried uninstalling with the CD in the drive?

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: (e-mail address removed) (George)
Newsgroups: microsoft.public.dotnet.languages.vb
Subject: App setup.exe on CD-ROM; problem deleting the app folders.
Date: 31 Mar 2004 18:41:19 -0800
Organization: http://groups.google.com
Lines: 22
Message-ID: <[email protected]>
NNTP-Posting-Host: 68.76.109.77
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1080787280 2609 127.0.0.1 (1 Apr 2004
02:41:20
GMT)
X-Complaints-To: (e-mail address removed)
NNTP-Posting-Date: Thu, 1 Apr 2004 02:41:20 +0000 (UTC)
Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news.glorb.com!postnews2.google.com!not-for-mail
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:192584
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

VB.net 2003 standard, XP windows home edition.

Installed first application OK today.
When I removed the application via Control Panel, there were no
problems and the app folders were deleted.

But when I installed the app from a CD-ROM (Release folder is in D:),
when I remove the app in Control Panel these problems occur:
Control Panel does not delete the application folders.
When I try to delete them I get message "Cannot delete file: Cannot
read from the source file or disk."

The only way to delete them is install the app again, delete the
folders first then remove the app in Contol Panel.

I've been using the book "Visual Basic.Net Step by Step" (Michael
Halvorson) and didn't notice any different procedures if the app is
deployed on CD-ROM.
Does the client need to copy the Release folder to C:drive first?

Thanks,
George
 
Back
Top