PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Uninstall not removing everything. Help please.

Reply

Uninstall not removing everything. Help please.

 
Thread Tools Rate Thread
Old 07-09-2006, 07:50 PM   #1
=?Utf-8?B?Tm9ibGUgQmVsbA==?=
Guest
 
Posts: n/a
Default Uninstall not removing everything. Help please.


When I uninstall my application from a PPC using "remove programs" I cannot
seem to get the entire application to remove. It wants to leave behind
folders and data. Sometimes it will alert me that a file or folder is in use
or marked read only and sometimes it will complete the uninstall without any
noise at all. But, looking back at the ppc I sometimes will see that
everything has been removed properly and then at other times there will be
folders left behind.

We are trying to get our application "logo tested" and one of the
requirements is for the uninstall to leave as little behind as possible.

I am using the following items in my program:
OpenNetCF
SqlCE
FormStack

I have an exit button on my main page in the application that has the
following code in the click event:
Application.Exit()

Anyone out there might know of a way to help me out?


------------------------------------------
Noble D. Bell
AgForest Partners, Inc.

  Reply With Quote
Old 08-09-2006, 05:58 AM   #2
Harsh Trivedi
Guest
 
Posts: n/a
Default Re: Uninstall not removing everything. Help please.

This happens many times when Application is still running and we try to
uninstall....but as you have written "Application.Exit" then it should not
be the case.

Before uninstalling, Go to Settings --> Running Program and check whether
application is in memory or not. It should be the case where, application is
still in memory or you are accessing same folder or open the file or image
which is going to be uninstalled. The other way round is while aceessing
third party controls... where they open stream or file...and not close or
destruct the objetct.



"Noble Bell" <NobleBell@discussions.microsoft.com> wrote in message
news:9C22566C-C47F-4504-8415-495E8A42A608@microsoft.com...
> When I uninstall my application from a PPC using "remove programs" I
> cannot
> seem to get the entire application to remove. It wants to leave behind
> folders and data. Sometimes it will alert me that a file or folder is in
> use
> or marked read only and sometimes it will complete the uninstall without
> any
> noise at all. But, looking back at the ppc I sometimes will see that
> everything has been removed properly and then at other times there will be
> folders left behind.
>
> We are trying to get our application "logo tested" and one of the
> requirements is for the uninstall to leave as little behind as possible.
>
> I am using the following items in my program:
> OpenNetCF
> SqlCE
> FormStack
>
> I have an exit button on my main page in the application that has the
> following code in the click event:
> Application.Exit()
>
> Anyone out there might know of a way to help me out?
>
>
> ------------------------------------------
> Noble D. Bell
> AgForest Partners, Inc.
>



  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off