WCELOAD is not installing the CAB file

windows-mobile

We are trying to install a cab file on Windows Mobile device. The WCELOAD.exe is present on the device on RAM because I am able to tap on the cab and install it, but I do not see it in the windows folder. I have tried to see the hidden file, by checking "Show all files". However we will need to do this for over 1000 devices and need to be able to do it programatically. Can someone please recommend how can I launch wceload in ROM from commandline or move it to Windows Folder?

I need to be able to install a cab file from command line. I tried \Windows\Wceload.exe /silent xyz.cab but it did not work. I have also tried \Windows\wceload.exe xyz.cab and it did not work. Can you please tell me what am I doing wrong? I do not see any error messages.

Best Answer

I'm not certain what you're asking here. wceload.exe is present in every Windows Mobile device. Period. Yes, it's a hidden file, and you can't see it in Explorer (remote file viewer will show it), but why, exactly, do you need to "see" it? It is guaranteed to be there. and cannot be deleted.

What is the underlying problem you're trying to solve here? I suspect maybe you're getting an error when attempting to run a CAB file, but your question is far from clear.

EDIT

Based on your comment, you're having problem getting wceload to install your CAB, notactually finding the app. That's a different issue.

Things to note:

  1. Windows CE has no notion of a "current directory" so you must provide a fully qualified path to both wceload and your CAB file:

    Process.Start("\\windows\\wceload.exe", "\\Folder\\myapp.cab");
    
  2. The cab file path is a single parameter to wceload. That means that if it has a space in the path, you have to delimit it, otherwise it just looks for everything up to the space, and will give an ambiguous error.

    Process.Start("\\windows\\wceload.exe", "'\\Storage Card\\myapp.cab'"); // note the single quotes in there
    
Related Topic