Error: The inf file contains Unicode characters that cocould not be converted correctly to ANSI

Source: Internet
Author: User

Some problems occurred when creating the cab installation package for windwo mobile today. I searched for the solution on the Internet and made it as follows:

 

Yesterday, I made the cab installation package for my Windows Mobile program for the first time. However, this problem occurs during the generation process:

Compilation completed -- 0 errors and 0 warnings
Time-> G:/windowsmobile/time/bin/debug/time.exe
------ Starting Pre-generated verification for project "smartdevicecab1 ------
------ Pre-generated verification of project "smartdevicecab1" has been completed ------
------ Generated: Project: smartdevicecab1, configuration: Debug ------
Generating File "G:/windowsmobile/time/smartdevicecab1/debug/smartdevicecab1.cab "...

"C:/program files/Microsoft Visual Studio 8/smartdevices/SDK/sdktools/cabwiz.exe" "G:/windowsmobile/time/smartdevicecab1/debug/smartdevicecab1.inf"/DEST "G: /windowsmobile/time/smartdevicecab1/debug/"/err cabwiz. log

Windows CE cab wizard

Warning: Section [regkeys] has no data
Warning: Section [defaultinstall] Key "addreg"-there are no section entries to process
Error: The inf file contains Unicode characters that cocould not be converted correctly to ANSI

Error: The Windows CE cab wizard encountered an error. For more information, see the output window.
============ Generate: 1 successful or latest, 1 failed, 0 skipped ============

The main file is successfully generated, but an error is prompted when the cab Installation File is generated. I searched for the whole afternoon on the Internet. I saw a lot of such problems encountered by netizens, but there were no less than a hundred such problems. There are also some solutions, but I cannot publish them using these methods. This error still occurs!

Later, after an hour of research at home, the cab file was successfully created. As long as you remember these points, this problem can be solved.

Two important points to remember are:

1. In the properties of the deployed installation package project, you must enter the manufacturer (manufacturer) item in English or a number, not Chinese. In this case, the "attribute" is not the property right-click after the project is selected, and after the project is selected, press the F4 key to display the window.
Change the value of the manufacturer item to non-Chinese.

2. Because the installation package has a "shortcut", you must change the "shortcut" name to non-Chinese in the "File System" window. You can! OK, success!

 

From: http://www.cnblogs.com/chinafine/articles/758075.html

 

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.