|
从老外的网站下载:
InfCacheBuilder - Boosts Pnp Device installation in BartPE
Copyright (c) 2005-2007 Gianluigi Tiesi <sherpya@netfarm.it>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Add it in your batch build, or use my Build Scripts Package
Usage: InfCacheBuild.exe [options] path_to_root
-h|--help - displays this help
-k|--keep - keeps *.pnf files
-f|--force - forces build of INFCACHE even if up to date
-i|--noinf - skips inf cache fix
-c|--nofilecase - skips filecase conversion
-p|--pathtoinf - then path instead is where inf files are located
Note this utility works also on Windows Vista but you should
put Windows XP or Windows W2K3 setupapi.dll in the same directory
of the executable, since Windows Vista setupapi.dll doesn't
export pSetupInfCacheBuild symbol.
Jobs done by InfCacheBuilder:
- Comment out CopyFiles, RenFiles and DelFiles sections from inf files
- build INFCACHE.1 using setupapi to speedup pnp detection
- If it finds a file named filecase.ini, all files matching the list will be uppercased,
then the exit code will inform the buildscript to add -U option to mkisofs |
|