![]() |
|
Using Spb AirSetup to create Pocket PC installers
By Alexander Shargin, March 31, 2003.
SummarySpb AirSetup is a tool to create Pocket PC installers to be run directly on Pocket PC without desktop PC (for Over-the-Air downloading). It is a command line tool whereby you provide a CAB file, a EULA, a readme and other parameters for it to generate a compressed, self-contained, self-extracting installer (Pocket PC executable). Over-the-AirWith the advent of Pocket PC Phone Edition (Pocket PC and mobile phone with built-in GPRS support integrated) Over-the-Air program downloading and installation is becoming a more and more common potential in the Pocket PC world. Using this potential the installation is performed on a Pocket PC without any support from a desktop PC. The only way to install applications directly on Pocket PC is using CAB files. However CAB files do have some serious limitations. They do not use compression, which is crucial for decreasing the size of Over-the-Air downloads. Neither do they provide an option to ask a user to accept the end-user license agreement, which may cause some serious legality problems. What You Need
BackgroundOn Pocket PC platform, new applications are usually installed on the device using CAB files. However, sometimes the facilities provided by CAB files are not sufficient. AirSetup is a tool that can convert your CAB to a GUI installation program (EXE) which can be run on the device to carry out the installation process. AirSetup FeaturesCompared to what CAB file technology has to offer AirSetup provides the following additional features.
Using AirSetupAirSetup is a command line tool which takes your installation CAB along with some additional files (readme, EULA) and generates an EXE file that can be run on Pocket PC to perform installation. The size of the resulting EXE is usually smaller than that of the original CAB file. Step 1 - Readme
Step 2 - EULA
Step 3 - default/custom target
Step 4 - choose a custom target folder
Using AirSetupFirst of all you should create a CAB file. Then start AirSetup.exe from the command prompt. Here is a usage example: AirSetup will create a Minesweeper_setup.exe program for the ARM-based Pocket PC. When executed, this program will guide the user through four wizard steps (readme, end-user license agreement and 2-step custom folder selection) and then unpack and install your CAB file. Note: AirSetup can be run only under Windows NT/2000/XP. ReferenceAirSetup is run using the following command line: Command line parameters have the following meaning.
SampleYou can download a sample installation package generated by AirSetup here: ConclusionIf you think about distributing your application Over the Air you should think about using tools like Spb AirSetup instead of distributing CAB files. It will make your Pocket PC installations smaller or turn them into user-friendly installation wizards with End-user license agreement and possibility to install to storage cards. Related resources:
DiscussDiscuss this article. Here you can write your comments and read comments of other developers. |
|||||||||||||||||||||