Search code examples
c#visual-studio-2008windows-mobilecompact-frameworkcab

Bundle several cabinet files together? (for Windows Mobile)


I am writing application for Windows Mobile 6.5, and for application to run, I have to install sqlce.wce5.armv4i.cab and NETCFv35.wm.armv4i.cab files on the end device.

Is there someway that I can combine and bundle those two cabinet files together with my application cabinet file? I want to create a single install process, which would install each file sequentially one after another (when I start bundled cabinet file)?

Is it possible? Or what is the easier solution to create more automated installation of required packages (such as for SQL Server CE)?

-- I am able to create cab file with other two cab files in it, but how can I make them execute right after I finish installing cab file that contains them? Right now it just extract them.


Solution

  • If I am right you are looking for Multicab Installation.

    WM already comes with an example on this. Here is a reference.

    The sample can be found on your PC at C:\Program Files\Windows Mobile 6.5.3 DTK\Samples\Common\CPP\Win32\multicabinstall