Uninstall not removing everything. Help please.

G

Guest

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?
 
H

Harsh Trivedi

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top