How to Make a Cab File

When you develops a mobile program and you wants to install it on mobile device then you need to make a cab file of that program like .exe [to install on computer]. There are certain steps to be followed as shown below.

1. Right click on solution within solution expolore and then click on Add --> New Project.

2. Choose Other Project Types --> Setup and Deployment --> Smart Device CAB Project. You may change project name and project location as well

1.gif

3. Build the target project, then, the right click on the cab project --> Add --> Project Output. A new window will open along with title "Add Project Output Group".

2.gif
 
4. Choose the target project then select Primary output and press OK button. The target project output will be added in cab project.

3.gif
 
5. Right click on cab project again and select View --> File System. It will open the explorer window within visual studio. 

4.gif
 
6. Right click on the "File system on Target Machine" --> Add Special Folder --> Programs Folder. 
 
5.gif

7. Choose the "Programs Folder" and then right click on space a window will pop-up. Then choose the "Create New Shortcut". A new window will appear.

6.gif
 
8. Double click on the Application Folder and then select the "Primary output" of targeted project. Then, the click the OK button.

7.gif
 
9. If you want to change shortcut file name then through property window you can change it.

10. Build the cab project. The three files will created in which .cab file [selected] can be used to install in the device.

8.gif

Up Next
    Ebook Download
    View all
    Learn
    View all