Wince application is not a valid Windows Embedded Compact application
I created the default "Hello World!" application in Visual Studio Code with F1, TotalCross: Create new Project and selected several targets including wince. Then I packaged the app with F1, TotalCross: Package. No .cab file was generated and I received the following error in the package terminal:
Failed calling execCabWiz for WM5!
Execution output:
INPUT:Windows CE CAB Wizard Warning: Section [DefaultInstall] key "AddReg" - there are no section entries to process Warning: Section [GlobalFiles] has no data Warning: Section [DefaultInstall] key "AddReg" - there are no section entries to process Error: CAB file "D:\Users\craig\Documents\TotalCrossProjects\HelloWorld\target\install\wince\HelloWorld.CAB" could not be created
I added /k to the pom.xml file.
<platforms>
<platform>/k</platform>
<platform>-linux</platform>
<platform>-linux_arm</platform>
<platform>-win32</platform>
<platform>-wince</platform>
</platforms>
I copied the contents of the target\install\wince directory to a USB flash drive and when I run the .exe on my wince device (Toradex Colibri T20 running Windows Embedded Compact 7), I get an error.
Note: The win32 version runs fine on my desktop.
Note: I have cabwiz.exe installed at C:\Program Files (x86)\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools. Do I need to add/update an environment variable or something so cabwiz.exe can be found during packaging?