PC Review


Reply
Thread Tools Rate Thread

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

 
 
George
Guest
Posts: n/a
 
      1st Apr 2004
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
 
Reply With Quote
 
 
 
 
David Guyer [MS]
Guest
Posts: n/a
 
      1st Apr 2004
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 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: <(E-Mail Removed)>
>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: groups-(E-Mail 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
>


 
Reply With Quote
 
George
Guest
Posts: n/a
 
      2nd Apr 2004
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



(E-Mail Removed) (George) wrote in message news:<(E-Mail Removed)>...
> 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

 
Reply With Quote
 
David Guyer [MS]
Guest
Posts: n/a
 
      15th Apr 2004
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 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 Removed) (George) wrote in message

news:<(E-Mail Removed)>...
>> 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 Removed) (David Guyer [MS]) wrote in message

news:<(E-Mail Removed)>...
>> > 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 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: <(E-Mail Removed)>
>> > >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: groups-(E-Mail 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
>> > >

>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: problem with deleting folders Jim Windows Vista General Discussion 1 11th Oct 2009 05:11 PM
How to setup the log so it will log creating/deleting folders? Peter Windows XP Security 0 7th Dec 2007 09:33 PM
Deleting Vista setup folders dssadsa Windows Vista Installation 1 3rd Sep 2007 10:04 PM
Problem with deleting folders Roman King Windows XP New Users 1 16th Jun 2007 02:41 PM
Problem deleting folders =?Utf-8?B?RGF2ZQ==?= Windows XP Security 3 12th Aug 2006 04:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:03 PM.