Under CE 4.2, we copied %_publicroot%\IABASE\OAK\MISC\cesysgen.bat
to %_projectroot%\OAK\MISC and modified this one rule:
if "%SYSGEN_BATTERY%"=="1" set CPLMAIN_COMPONENTS=%CPLMAIN_COMPONENTS%
power
to
REM if "%SYSGEN_BATTERY%"=="1" set
CPLMAIN_COMPONENTS=%CPLMAIN_COMPONENTS% power
This removed the standard power applet from the cplmain.cpl.
Under CE 5.0, this code is no more found in cesysgen.bat, but in
wceshellfe.bat. Copying this file to my project directory and modifying
the same line did not work.
Does PB 'know' it has to read this batch file in my project directory?