Generate a Windows mobile5.0 cab package file

Source: Internet
Author: User
Windows mobile5.0 cab
Generate the package file

Some time ago, I had a hard time tossing the cab package for a few days. Now let's summarize it. I personally think there is no good way to learn from my blog. Let's take a look at the following. Let's talk about the development environment: Visual studio2005 (Visual C ++ 2005), ActiveSync, and Windows Mobile.
5.0 below is the packaging steps: See the following connection http://msdn2.microsoft.com/zh-cn/library/zcebx8f8 (vs.80). aspx mainly talk about common errors in the cab file generation process. Error
1
:
The inf file contains Unicode
Characters that cocould not be converted correctly to ANSI this is the most common error. I have consulted a lot on the Internet and wondered why I didn't
DX
Solved
.... Some people say
INF
Save
UTF-8
The format can solve Chinese problems. In my own environment, this cannot be used. Simple solution:
In Solution Explorer on the left, right-click the project name, and"
Project name
Deploy Project Properties "modify"
Manufacturer"
In English
Okay,
The default value is Chinese. Personal opinion: the fastest way to verify whether a package is possible is as follows:
Add smart devices to the solution
Cab
Project

1.
Open an existing smart device project and make sure that
"
Solution Resource Manager
"
Visible. 2.
In
"
File
"
Point
"
Add
"
And then click
"
Create a project
"
. Appears
"
Add a new project
"
Dialog box. 3.
In the left-side
"
Project Type
"
Expand in the pane
"
Other project types
"
Node, and then click
"
Installation and deployment
"
. 4.
In
"
Template
"
Select
"
Smart devices
Cab

Project
"
. This is the only one that can be used for smart devices.
Cab
Project type. Other project types are only used for desktop solutions. 5.
In
"
Name
"
Box, type

Cabproject

And then click
"
OK
"
. This
Cab
The project is added to your solution and displayed in
"
Solution Resource Manager
"
. Show now
"
File System Editor
"
Of
Two panes.
6

. Right-click the project name-add file application file (that is, the application file successfully runs on the simulator)
EXE
File), and then left-click the project name to generate.
Cab
File to generate
Cab
File.

This is the fastest generation
Cab
File method, but in
Cabwiz. Log
There are three
Warning: Section [regkeys] has
No datawarning: Section [defaultinstall] Key
"Addreg"-there are no section entries to processwarning: Section [shortcuts] has no
Data note
: It is not recommended to generate the cab file like this. It is best to follow the steps in the Link (the above warning will not appear, but it is a good way to generate the cab file quickly. The above is only my opinion. please correct me.
. MSN: adler0518@live.cn

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.