473,225 Members | 1,402 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,225 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 2639
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. ...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.