After an extended period of use of my Mobile Device(WM5) and testing
of my application which I frequently reinstall applications via
WCELoad, I start getting "Unable to remove previous version" errors
from WCELoad. I thought it might be a locked file in the install
directory, but I proved that wrong by manually deleting the entire
directory without a sharing violation. After doing a soft reset, the
problem goes away.

Does anyone have any theories on what causes this?

Re: WCELoad by Paul

Paul
Mon Jan 21 10:33:00 CST 2008

Most programs, when you click on the X icon in the window caption *are not
closing*. They are simply hidden, allowing them to pop up faster when you
try to start the same program next time. Since the program is still
running, it's no surprise that you can uninstall it.

Paul T.

"Rick" <admin@thebinarysolution.com> wrote in message
news:f037f833-af2e-497f-b442-980ac219567a@i29g2000prf.googlegroups.com...
> After an extended period of use of my Mobile Device(WM5) and testing
> of my application which I frequently reinstall applications via
> WCELoad, I start getting "Unable to remove previous version" errors
> from WCELoad. I thought it might be a locked file in the install
> directory, but I proved that wrong by manually deleting the entire
> directory without a sharing violation. After doing a soft reset, the
> problem goes away.
>
> Does anyone have any theories on what causes this?



Re: WCELoad by Rick

Rick
Mon Jan 21 20:40:32 CST 2008

I'm very aware of the "X" being a minimize button of sorts. I'm 100%
sure this is not the issue and the program is not running. As I
stated, I'm even able to delete the executable.

Re: WCELoad by Paul

Paul
Tue Jan 22 09:09:32 CST 2008

You could use the Remote Process Viewer to see what's running. The soft
reset fixing things is a pretty good indication that something is running
that the installer wants to not have running.

Paul T.

"Rick" <admin@thebinarysolution.com> wrote in message
news:6ed49f52-6d24-4191-b652-4a248f71c6a3@s12g2000prg.googlegroups.com...
> I'm very aware of the "X" being a minimize button of sorts. I'm 100%
> sure this is not the issue and the program is not running. As I
> stated, I'm even able to delete the executable.



RE: WCELoad by srhartone

srhartone
Wed Jan 23 08:59:01 CST 2008

Can you please tell us how you are uninstalling the application, using what
tools, code etc?
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"Rick" wrote:

> After an extended period of use of my Mobile Device(WM5) and testing
> of my application which I frequently reinstall applications via
> WCELoad, I start getting "Unable to remove previous version" errors
> from WCELoad. I thought it might be a locked file in the install
> directory, but I proved that wrong by manually deleting the entire
> directory without a sharing violation. After doing a soft reset, the
> problem goes away.
>
> Does anyone have any theories on what causes this?
>

Re: WCELoad by Rick

Rick
Wed Jan 23 12:10:52 CST 2008

To uninstall, I'm doing nothing more than running a newer version of
the CAB and letting WCELoad handle the uninstall process. This is
also not a constant problem, it's only every once in a while. What
could be running that causing the issue? Remember, I can delete the
program directory manually without a sharing violoation.


Re: WCELoad by srhartone

srhartone
Wed Jan 23 16:38:00 CST 2008

The only thing I can thing of would be a timing issue. When you reinstall
your app could it be possible the app is in the process of shutting down
during WCELOAD? Then by the time you try to delete the application from
RAM/card, the application has exited cleanly.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"Rick" wrote:

> To uninstall, I'm doing nothing more than running a newer version of
> the CAB and letting WCELoad handle the uninstall process. This is
> also not a constant problem, it's only every once in a while. What
> could be running that causing the issue? Remember, I can delete the
> program directory manually without a sharing violoation.
>
>