How Do I Create a Cabinet File? (Magic xpa 2.x)
When you are working in the Magic xpa Studio, you are accessing a Magic xpa Project, or .edp. This .edp refers to a collection of source files, which are typically kept in the \source subdirectory in XML format.
However, once your project is complete, you will want to package it up for installation. The packaged file is known as the Magic xpa Cabinet File, or .ecf. From an installation point of view, the .edp and .ecf work similarly in that you can click on either one to get started. There are some important differences though, as shown below.
.edp
|
.ecf
|
Magic xpa Project
|
Magic xpa Cabinet File
|
Opens the Magic xpa Studio
|
Runs your application
|
For programmers only
|
For users mainly, or for use as components while developing
|
Requires XML source files exist.
|
Contains the packaged version of the XML source
|
When you are deploying your project, you want to deploy only the .ecf file, and some other supporting files (fonts, colors, components).
Also, when you are deploying, the user will be installing and running only the Runtime version of Magic xpa.
It is very simple to create the cabinet .ecf file. Below we give you the steps.
-
Open the project.
-
From the overhead menu, select File->Create Cabinet.
-
You will be prompted for the cabinet file name. Type in the name or select it, then click Save.
-
If the .ecf file already exists, you will receive a warning box about overlaying it. Click Yes if you want to overlay it.
After the dialog boxes disappear, your .ecf file will appear, and will be ready for use.
How Do I Create a Shortcut for My Application?