WinCEGeräteSE_Handbuch_Programmierung_v3.00_EN
55 / 65
When you call a batch, the following prompt appears:
Click No.
Flashdisk is usually defined as the target storage media.
Click the OK button to upload the CAB file onto the device.
The CAB file installation then starts and a dialogue box appears to select the installation folder.
Once the installation is complete, the CAB file is automatically deleted.
In case registry information has been installed, save the registry persistently with
Start
Programs
SySTools
Save Registry .
6.3.4.3 CAB file installation when booting
The mechanism described in chapter 6.3.3 is particularly suitable for extracting CAB files when booting. To
do this, copy the UpdateCE.bat file and the cab file which is installed from the batch.
Example of an UpdateCE.bat:
@echo off
\Windows\wceload.exe /noaskdest "\Flashdisk\Setup.CAB"
The /noaskdest parameter triggers an automatic installation when booting without prompting an installation
folder dialogue (non-interactive).
Once the installation is complete, the CAB file and the update batch are deleted automatically.
Add an additional parameter to prevent the deletion of the CAB file:
@echo off
\Windows\wceload.exe /noaskdest /delete 0 "\Flashdisk\Setup.CAB"