Configuring the Preromimage.bat File
The Preromimage.bat file uses the Bibhelper.vbs script, which allows you to change file attributes for entries in the FILES or MODULES sections of .bib files. For more information about the Bibhelper.vbs script, see Bibhelper Script.
To configure the Preromimage.bat file
In the %_FLATRELEASEDIR%\Preromimage.bat file, add the following two commands:
copy %_FLATRELEASEDIR%\ce.bib %_FLATRELEASEDIR%\ce_orig.bib
cscript %_MAKEENVROOT%\bibhelper.vbs %_FLATRELEASEDIR%\MyPlatform_bib.cfg %_FLATRELEASEDIR%\ce_orig.bib %_FLATRELEASEDIR%\ce.bib
In %_FLATRELEASEDIR%, add a MyPlatform_bib.cfg file.
In the MyPlatform_bib.cfg file, add entries for the modules that you want to change the attributes for.
The following table shows .cfg file entries for specifying file attributes for the Bibhelper.vbs script. Place the entries on separate lines in the .cfg file.
Entry Description Toolhelp.dll +C
Adds the compression attribute to the Toolhelp.dll file. Toolhelp.dll -C
Removes the compression attribute from the Toolhelp.dll file.
See Also
How to Decrease Run-Time Image Size on a CEPC | Binary Image Builder File
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.