Solved

Symbol MC9063 windows 2003 pocket pc

Posted on 2010-08-31
5
1,607 Views
Last Modified: 2013-12-21
I would like to have an application persist after cold boot (hard reset).

How do I create a reg file and what should it include?
How do I make a cpy file and what should it include?



Thanks in advance.
0
Comment
Question by:macPB
  • 2
  • 2
5 Comments
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 33565167
have a look at Application folder and its 2577 subfolder, that's where you should find all reg files and others for copying etc.

Application folder is a flash-based, so it persists over the cold boot. Just make your copy of some reg files or cpy ones to implement what you want.

Needless to say, your app files for copying/installing should be somewhere under Application folder, so they survive the cold boot
0
 

Author Comment

by:macPB
ID: 33602030
Alexey,

Thanks for the quick reply. Unfortunately, there is no 2577 subfolder.

It's WM 2003 CE 4.2 .net.
0
 
LVL 24

Expert Comment

by:alexey_gusev
ID: 33602220
well, 2577 reflects processor type (ARM in this case), you might have different one or files are somewhere else, maybe in the root of the Application folder.

Do you see *.reg and *.cpy somewhere? If yes, just put yours to the same location.
0
 
LVL 16

Accepted Solution

by:
hjgode earned 500 total points
ID: 33759783
Reg files can be created with the free device software Tascal RegEdit (TRE) or via active sync using the free windows app called CeRegEdit. CeRegEdit allows to export registry keys from the device to REG files. CeRegEdit also supports creating snapshots and compare them. The registry more or less contains all configuration data of your device. To 'clone' the config of one device to another or to create an installer that changes a device to a defined configuration you need a) the registry changes between a clean booted device and a configured one and b) the manually installed applications after the clean boot.

The cpy file format is a special one introduced by Symbol. There support site should have the documentation on it and how to use it.

A general description on how to create installers can be found on my old web site at http://www.hjgode.de/dev/installer/index.htm

Using CAB files to install applications and settings is the standard way to setup a device. Intermec, Symbol/Motorola and others provide additional tools and special folders on there devices to let you setup a device clean boot resistent. But there approaches are very different.

The 2577 folder is a special folder for devices based on ARMv4 processors. If there is a 2577 folder on a removable media found by the Windows Mobile OS during boot, it will look for an AutoRun.exe in this folder. If an AutoRun.exe is found, the OS will launch this automatically. By writing your own AutoRun.exe you can have your installation and settings being automatically installed during boot.

Intermec provides a set of files together with AutoRun.exe to have files in \CabFiles on storage card being automatically installed.

Symbol uses another approach (see http://support.symbol.com/support/search.do?cmd=displayKC&docType=kc&externalId=5148007apdf&sliceId=&dialogID=27852056&stateId=0%200%2027846700):
"CopyFiles

Windows CE expects certain files to be in the Windows folder, residing in volatile storage. Windows

CE maintains the System Registry in volatile storage. CopyFiles copies files from one folder to another

on a cold boot. Files can be copied from a non-volatile partition (Application or Platform) to the

Windows or other volatile partition during a cold boot. During a cold boot CopyFiles looks for files

with a .CPY extension in the root of the Platform and Application FFS partitions (Platform first and

then Application). These files are text files containing the source and destination for the desired files

to be copied separated by “>”. The following example from the file application.cpy is contained on

the demo application partition included in the DCP for MC9000w. It can also be obtained from the

Symbol web site at http://devzone.symbol.com/.

Files are copied to the Windows folder from the Flash File System using copy files (*.cpy) in the

following order:

\Platform

\Application

Example:

\Application\ScanSamp2.exe>\Windows\ScanSamp2.exe

This line directs CopyFiles to copy the ScanSamp2.exe application from the \Application folder to the

\Windows folder."

So, what do you want to do with this information now?

regards

Josef
0
 

Author Closing Comment

by:macPB
ID: 33775170
Not exactly what I was looking for but is probably the most comprehensive solution that I have found. I can use it none the less.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now