Any solutions to persist AFTER Hard Boot .. for .NET CF and Sql CE on Windows CE7.0 using MC32N0

K Kevin Choi 3 years 7 months ago
90 3 0

I have an application (.exe) I have developed for the MC32N0 to scan barcodes and update a sql-server database.
 
The application requires the following installed CAB files for the app. to work.
 
NETCFv35.Messages.EN.cab          402 KB
NETCFv35.wce.armv4.cab               9176 KB
sqlce.dev.ENU.wce5.armv4i.cab      44 KB
sqlce.wce5.armv4i.CAB                   221 KB 
 
 
I have tried to weeks to figure out HOW TO HAVE THESE AUTOMATICALLY persist AFTER COLD BOOT (HARD BOOT).   Our MC 3200 use Windows CE7.0.
 
Thanks~~~

Please Register or Login to post a reply

3 Replies

E Efkan YILMAZ

Kevin,

.Net CF 3.5 is already installed on the MC3200 CE7 - you can check the version by running cgacutil.exe located in \Windows and it should report 3.5.12128. There is also the corresponding version of SQLCE installed so I think you only need to install the NETCFv35.Messages.EN.cab  file in order to have a working persistent solution. I would use the following registry key to persist this installation which is in the attached REG file- place this in \Application and cold boot to install. Note that you need to use the attached version of the CAB file since this has been modified to install on CE7 without any warning messages.

[HKEY_CURRENT_USER\Software\Symbol\Startup\Programs\Prog10]
  "Name"="\windows\wceload.exe"
  "Command"="/noui /delete 0 \application\NETCFv35.Messages.EN.cab"
  "Continue"=dword:0
  ”Delay"=dword:0
  "ColdBootOnly"=dword:1

K Kevin Choi

Thank you very much, but i found some problem in this applecation.

I follow the script file(Onstore.txt) and put it into the \Application\StartUpCtl\OnRestore folder, the script as below.

\windows\wceload.exe /noui /delete 0 "\Application\sqlce.repl.wce5.armv4i.CAB"
wait
\windows\wceload.exe /noui /delete 0 "\Application\sqlce.wce5.armv4i.CAB"
wait
Reset

And i found the log file as below, i think they didnt install the application, how can i goto next step?

2017/24/07-14:30:57 StartUpCtl  Version 1.8
2017/24/07-14:30:57 Settings : Debug mode ON
2017/24/07-14:30:57 Settings : LogFile Temp Folder :  \Application\StartUpCtl
2017/24/07-14:30:57 Settings : LogFile Folder :  \Application\StartUpCtl
2017/24/07-14:30:57 Settings : Max LogFile size : 10000
2017/24/07-14:30:57 OnRestore folder detected
2017/24/07-14:30:57 OnRestore.txt found
2017/24/07-14:30:57 \Application\StartUpCtl\OnRestore\OnRestore.txt  -  \windows\wceload.exe /noui /delete 0 "\Application\sqlce.repl.wce5.armv4i.CAB"
2017/24/07-14:30:57 \Application\StartUpCtl\OnRestore\OnRestore.txt  -  wait
2017/24/07-14:30:57 \Application\StartUpCtl\OnRestore\OnRestore.txt  -  \windows\wceload.exe /noui /delete 0 "\Application\sqlce.wce5.armv4i.CAB"
2017/24/07-14:30:57 \Application\StartUpCtl\OnRestore\OnRestore.txt  -  wait
2017/24/07-14:30:57 Reset Device command found.
2017/24/07-14:30:57 \Application\StartUpCtl\OnRestore\OnRestore.txt  -  Reset
2017/24/07-14:30:57 Start Sub script File Process in folder :  \Application\StartUpCtl \ OnRestore
2017/24/07-14:30:57 Sub Script File count is zero
2017/24/07-14:30:57 End Sub script File Process in folder :  \Application\StartUpCtl \ OnRestore
2017/24/07-14:30:57 Processing Reset command.
2017/24/07-14:30:57 StartUpCtl Finished
2017/24/07-14:30:57 ____________________________________

G Gary Hartstone

Use the Zebra Startup Control application.
This will launch at startup and install the cabs in your preferred order.
Also allows copy and registry file activation in the same config file.
Can also perform an automatic warm boot after install if required.
Can also display a splash screen during install to prevent user interaction.

CONTACT
Can’t find what you’re looking for?