Creating the installation package
Figure 1
Enter the project name and click OK to complete the project creation. When the deployment project is created, Visual Studio displays the file System (Setup) tab:
Figure 2
Right-click the Setup project, and then click Project Output under the Add menu:
Figure 3
The Add Project Output Group dialog box opens with the primary output, localized resources, and content Files selected:
Figure 4
Among them, Primary output is our application body, Content files is options.xml, then localized resources is what? Because Orientation Aware control uses resource files to store the layout information of a form (for example, the location and size of controls):
Figure 5
So we're going to deploy it to the target device together.
Next, I want to display a shortcut to this application in a Windows Mobile program, so I need to add a programs Folder first:
Figure 6
Select Programs Folder on the left, right-click the right margin, and click Create New disambiguator:
Figure 7
The Select Item in Project dialog box opens, selects creator Folder inside, and then clicks OK:
Figure 8
The dialog box will further display the contents of the Creator folder, select the primary output from ALT (Active), and click OK to close the dialog box:
Figure 9
At this point, a shortcut will appear to the right of Programs folder, renaming the shortcut to the name of the application:
Figure 10
Finally, build the Setup project, complete!
Create a new project where the project template for deploying a Windows Mobile application is smart Device CAB project under Other project Types\setup and deployment:
Continue >> Next [1th] [page 2nd]