To install a Pocket PC application remotely, an installable Microsoft Cabinet File is copied to the \Windows\AppMgr\Install directory on the device and then the wceload.exe program is executed to perform the actual install. That is a very simple procedure.
Unfortunately, many applications for devices are distributed as self-extracting installers for Microsoft Windows, and not as individual installable Microsoft Cabinet Files. That is very impractical for users of other operating systems, such as Linux or FreeBSD.
Orange is a tool and library for squeezing out juicy installable Microsoft Cabinet Files from self-extracting installers for Microsoft Windows and some other installer file formats. It currently supports the following kinds of installers:
- Self-extracting installers (EXE):
- Early support for installers created by Installer VISE.
- Support for some installers created by Inno Setup.
- Setup Factory versions 5 and 6 using Dynamite for data decompression.
- Some other installer (using a DLL called inflate.dll). This is used by for example Macromedia Flash Player 6 for Pocket PC 2002.
- InstallShield self-extracting installers.
- Other formats:
- APK, ARH Early support for the installer used by TomTom products.
- CAB InstallShield Cabinet files, using Unshield.
- CAB Microsoft Cabinet files (also self-extracting) when you have Stuart Caie's excellent Cabextract tool installed.
- MSI Microsoft Installer files, if libole2 is available.
- RAR archives (also self-extracting) when you have Unrar installed.
- ZIP archives (also self-extracting) when you have UnZip installed.
When Orange has extracted an installable Microsoft Cabinet File, you can use synce-install-cab to install the program on your device.
If you find an installer that Orange fails to handle and you have both Cabextract and UnZip installed, write to firstname.lastname@example.org and provide a link to where it can be downloaded.
See the Orange package for the latest release, or the orange module in Subversion for the bleeding edge source code!