WCELoad

R

Rick

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

Paul G. Tobey [eMVP]

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.
 
R

Rick

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.
 
P

Paul G. Tobey [eMVP]

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.
 
S

Simon Hart [MVP]

Can you please tell us how you are uninstalling the application, using what
tools, code etc?
 
R

Rick

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.
 
S

Simon Hart [MVP]

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.
 

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