http://channel9.msdn.com/wiki/default.aspx/MobileDeveloper.InstallingMultipleCABFiles
Installing Multiple CAB Files
Often a mobile device application may require that other software be installed onto the device in addition to the actual application; for example a managed application requires the .NET Compact Framework and might also require SQL Server Everywhere Edition. Each piece of software is normally contained in a separate Click to read this topic
Rather then make the user install each Click to read this topic
You can easily create a master Click to read this topic
To install each individual Click to read this topic
- A program that loops through the list of all of the CAB files and uses ShellExecute to install each one individually
- A DLL that gets associated with the master Click to read this topic
5/23/2007 3:39:37 PM - hedgehogjimCABfile. All CAB files can optionally have a DLL associated with them. The DLL must expose 4 entry points: Install_Init, Install_Exit, Uninstall_Init, and Uninstall_Exit. In this case the DLL associated with the master Click to read this topic5/23/2007 3:39:37 PM - hedgehogjimCABfile simply executes the above program from the Install_Exit entry point
Once the master Click to read this topic
- The master Click to read this topic
5/23/2007 3:39:37 PM - hedgehogjimCABfile is copied to the device
- The user initiates the Click to read this topic
5/23/2007 3:39:37 PM - hedgehogjimCABFile install process by using the File Explorer (or similar) to navigate to and tap on the master Click to read this topic5/23/2007 3:39:37 PM - hedgehogjimCABfile.
- The device installs the master Click to read this topic
5/23/2007 3:39:37 PM - hedgehogjimCABfile just as any other Click to read this topic5/23/2007 3:39:37 PM - hedgehogjimCABFile by extracting the individual CAB Files and placing them on the device in the location specified in the Visual Studio Smart Device CAB project.
- Once all of the individual CAB files are placed on the device, the DLL's Install_Exit entry point (a.k.a. function) is called
- The Install_Exit function then launches the program
- The program then loops through each Click to read this topic
5/23/2007 3:39:37 PM - hedgehogjimCABfile and installs them
Note that the first 2 steps that the user manually performs can be automatically performed as part of a desktop MSI as discussed in Click to read this topic
Like pretty much anything else in programming, the best way to understand the multiple Click to read this topic
If you would like information about how to install a Click to read this topic
- Checkout the Click to read this topic
9/29/2006 10:31:50 AM - hedgehogjimInstallApplication entry