473,385 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 2650
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: XenofeX | last post by:
I have fınished my project which is using access database. I want to deploy my project to another pc. However dot net framework should be installed on destination PC. How can i add the dot net...
1
by: Michael A. Covington | last post by:
When I build my setup project, I get three files: setup.exe, setup.ini. and myapplication.msi. These go into a folder called (setup project)/bin/Release. If any other files are in that folder,...
1
by: JJ | last post by:
Hi, I have gone the setup project route and added the setup project to my solution as in the guide. I have checked the dependancy's and they all seem to be there. Now do I just build the project...
2
by: Ricky | last post by:
I am doing setup and deployment for the first time in .NET. I have developed an application in VB.NET which uses a third party component. But in order for the component to work I need to register...
3
by: LeAnne | last post by:
where can i download the setup for vb.net 2005 express edition. the link on MS site allows me to download only a file which when run will install it onto my computer. What i need is the whole...
4
by: malsop | last post by:
I'm moving to a new computer, both running XP Pro SP2 w/latest live updates from MS. Both have full Office 2003 packages installed. When the install disk autoruns the startup and when I do it...
2
by: salman | last post by:
hello i want to make setup of my software with software protection key (like cd key ). so i can distribute my software to my two client with different keys. i want to add key so that setup will...
1
by: steve | last post by:
Hi All I have an application with a setup project which has worked faultlessly for months Today I added some graphs to the Report viewer in VB.net 2005 and when I build the setup project and...
3
by: Maha | last post by:
Hi all, It is my first time with windows forms applications using Visual Studio .net 2005, and I have a question; My project is a database driven one which will be distributed on a CD. I...
0
by: dot | last post by:
I spent a few headache filled days trying to use GMP on windows (XP pro) I finally got it to work and since I found little help on the Web I thought someone might find what i did useful. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...

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.