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