problem with wceload installing a cab file.

M

Milsnips

Hi there,

this is my situation, i have a program i created using .net20 for windows
mobile 5 devices, i install it and all works fine.
Now, i download an updated version of my program off the net, and click the
cab file to install the update, to which it prompts me that it will
uninstall the previous version first, so i click "OK".

and here, it continues to install the cab file, and it says installatation
was "unsuccessful".

I dont know why it doesnt uninstall the previous version properly, and the
program is not in the process explorer, so my app isnt open during the
download.

What i need to do as a workaround is to manually delete my app EXE file,
then run the cab file and it works.

Is this a bug within WCELOAD or something?

regards,
Paul
 
M

Milsnips

Hi Chris,

As far as i can see, the property of the exe file doesnt show it as
read-only.
i've tried doing the install manually by clicking the file, via WCELoad.exe,
it all seems to give me the same problem.

regards,
Paul
 
G

Guest

Do you install any libraries to the GAC? if so, check they are not in use
when you try to reinstall your app the second time.

Simon.
 
M

Milsnips

Hi Simon,

No i'm not installing anything into the GAC, i just reference the .netcf 2.0
objects which are already installed onto the device.

regards,
Paul
 
G

Guest

Does the problem only occur when you install the CAB that has been downloaded
from the web server?

Simon.
 
M

Milsnips

Hi Simon,

No, even if i copy it manually, and click the cab file to install it or call
id via WCELOAD, it still gives me the same problem. I dont know if its a bug
or some problem with the CAB file or what, but i just cant figure it out.

What i'm forced to do for now is in my "updater" app, i check if the program
EXE is present, delete it first, then i run the CAB file, this way it still
shows the uninstall error, but it continues and installs the new version
over the old.

regards,
Paul
 

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