472,110 Members | 2,292 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 software developers and data experts.

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

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
Nov 20 '05 #1
5 2543
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: te*****@hotmail.com (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: <c1**************************@posting.google.com >
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: gr**********@google.com
NNTP-Posting-Date: Thu, 1 Apr 2004 02:41:20 +0000 (UTC)
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!news.glorb.com!postnews2.google.com!not-for-mailXref: 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


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

te*****@hotmail.com (George) wrote in message news:<c1**************************@posting.google. com>...
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

Nov 20 '05 #3
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
da****@online.microsoft.com (David Guyer [MS]) wrote in message news:<b5**************@cpmsftngxa06.phx.gbl>...
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: te*****@hotmail.com (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: <c1**************************@posting.google.com >
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: gr**********@google.com
NNTP-Posting-Date: Thu, 1 Apr 2004 02:41:20 +0000 (UTC)
Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.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

Nov 20 '05 #4
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
te*****@hotmail.com (George) wrote in message news:<c1**************************@posting.google. com>...
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
da****@online.microsoft.com (David Guyer [MS]) wrote in message news:<b5**************@cpmsftngxa06.phx.gbl>...
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: te*****@hotmail.com (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: <c1**************************@posting.google.com >
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: gr**********@google.com
NNTP-Posting-Date: Thu, 1 Apr 2004 02:41:20 +0000 (UTC)
Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.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

Nov 20 '05 #5
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: te*****@hotmail.com (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
te*****@hotmail.com (George) wrote in message

news:<c1**************************@posting.google. com>...
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
da****@online.microsoft.com (David Guyer [MS]) wrote in message news:<b5**************@cpmsftngxa06.phx.gbl>...
> 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: te*****@hotmail.com (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: <c1**************************@posting.google.com >
> >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: gr**********@google.com
> >NNTP-Posting-Date: Thu, 1 Apr 2004 02:41:20 +0000 (UTC)
> >Path:
>

cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.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
> >


Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by XenofeX | last post: by
1 post views Thread by Michael A. Covington | last post: by
1 post views Thread by JJ | last post: by
2 posts views Thread by Ricky | last post: by
2 posts views Thread by salman | last post: by
1 post views Thread by steve | last post: by
3 posts views Thread by Maha | last post: by
reply views Thread by leo001 | last post: by

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.