Hardware Reset Problems...

C

Chris Linnen

Hi,



I'm trying to setup a pocket pc so that it installs a custom application and
recovers all its settings after a cold reset by editing the registry.



I'm almost there except I need some help with a couple of questions.



Q1.

I need to install and run six cab files. These are all embedded in the
\application folder. To actually run these cabs I use the following
command:



CPY FILE:

\application\cabs\netcf.all.wce4.ARMV4.cab >



REG FILE:

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog10]

"Name"="\windows\wceldcmd.exe"

"Command"="\application\cabs\netcf.all.wce4.ARMV4.cab"

"Continue"=dword:1

"ColdBootOnly"=dword:1





All the cabs are read-only so they remain in the folder even after they are
installed.



This method seems to work OK except the following cabsdo install, yet when I
open the custom application I get a startup General Exception error:
"SqlceException" so they obviously aren't installing properly.



\application\sqlce.dev.wce4.armv4.cab

\application \sqlce.wce4.armv4.cab



Can anyone help me find a way around this?



Q2.

When I am setting WLAN profile details in the registry, I need to enter in
an encypted key.



My question is: how do I set about encrypting my 26 character key?

Units are Symbol 8846's running PPC2003.

Any help would be greatly appreciated.



Chris.
 
R

Rüdiger Kardel

Chris,

1. do the sql cab-files install properly when you doubleklick them?
if yes, there must be a typo in your regfile.

2. take a look into the \Platform folder on the device.
In the S24Profiles.reg all network settings are described.
Save the registry of a running device to the desktop and copy and paste the
settings (especially the encrypted WEP key) you need to the regfile.

HTH
Ruediger
 
C

Chris Linnen

Hi,

Thanks for replying so soon.

I've tried implementing your suggestions but still no joy with my second
question.

The problem I seem to be having with the encyrption key is that it is 26
characters long, but when I look at the profile settings in the registry,
the encrypted key is 58 characters long as it has been scrambled for
security.

I need to find a way of scrambling my 26 character key so that I can input
this into the registry - any ideas on how to do this?

Any help is much obliged.

Chris

Rüdiger Kardel said:
Chris,

1. do the sql cab-files install properly when you doubleklick them?
if yes, there must be a typo in your regfile.

2. take a look into the \Platform folder on the device.
In the S24Profiles.reg all network settings are described.
Save the registry of a running device to the desktop and copy and paste the
settings (especially the encrypted WEP key) you need to the regfile.

HTH
Ruediger

Chris Linnen said:
Hi,



I'm trying to setup a pocket pc so that it installs a custom application
and
recovers all its settings after a cold reset by editing the registry.



I'm almost there except I need some help with a couple of questions.



Q1.

I need to install and run six cab files. These are all embedded in the
\application folder. To actually run these cabs I use the following
command:



CPY FILE:

\application\cabs\netcf.all.wce4.ARMV4.cab >



REG FILE:

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog10]

"Name"="\windows\wceldcmd.exe"

"Command"="\application\cabs\netcf.all.wce4.ARMV4.cab"

"Continue"=dword:1

"ColdBootOnly"=dword:1





All the cabs are read-only so they remain in the folder even after they
are
installed.



This method seems to work OK except the following cabsdo install, yet when
I
open the custom application I get a startup General Exception error:
"SqlceException" so they obviously aren't installing properly.



\application\sqlce.dev.wce4.armv4.cab

\application \sqlce.wce4.armv4.cab



Can anyone help me find a way around this?



Q2.

When I am setting WLAN profile details in the registry, I need to enter in
an encypted key.



My question is: how do I set about encrypting my 26 character key?

Units are Symbol 8846's running PPC2003.

Any help would be greatly appreciated.



Chris.
 
R

Rüdiger Kardel

Chris,
I need to find a way of scrambling my 26 character key so that I can input
this into the registry - any ideas on how to do this?

ok, second try:
take your device and put in your key. Now the key is saved scrambled to the
registry of the device. Take a tool like the remote-registry-editor, comming
with eVC++ and save the registry of the device to your desktop computer.
Last thing to do: copy the scrambled key from the saved regfile to your
customized one - done.

HTH
Ruediger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top