发新话题
打印

高手进来看看?

高手进来看看?

我认为是你在UNATTEND里集成驱动时有错误.这一行你有没有写对呢?注意不要写错路径,也不要丢引号和分号.
OEMPnPDriversPath="Install\Drivers\VIA;install\Drivers\Intel;Install\Drivers\Video;install\Drivers\Audio;install\Drivers\Audio\CMI8738;install\Drivers\Lan;install\Drivers\Monitor;install\Drivers\Print\EPSON680;install\Drivers\Print\Bjc1ksp"
欢迎来我的论坛作客,讨论启动技术:

http://www.haopeng.org/bbs/

启动技术区
影视音乐区
游戏动漫区
休闲娱乐区  

TOP

高手进来看看?

应该不可以分开写,还有你好象只有半个引号,那半个呢?Acdsee要用autoit来实现自动安装。其他工具可以在applications.cmd里添加一些命令来实现
而且winnt.sif的最后还要有
[GuiRunOnce]
%systemdrive%\install\applications.cmd
来调用applications.cmd
看看这个例子:
Applications.cmd
@echo off
ECHO.
ECHO 接下来的几分钟里,你将会看到脚本程序自动给你安装常用的软件。
ECHO.
ECHO 删除墙纸和和没用的快捷方式...
DEL "%systemroot%\Blue Lace 16.bmp"
DEL "%systemroot%\Coffee Bean.bmp"
DEL "%systemroot%\FeatherTexture.bmp"
DEL "%systemroot%\Gone Fishing.bmp"
DEL "%systemroot%\Greenstone.bmp"
DEL "%systemroot%\Prairie Wind.bmp"
DEL "%systemroot%\Rhododendron.bmp"
DEL "%systemroot%\River Sumida.bmp"
DEL "%systemroot%\Santa Fe Stucco.bmp"
DEL "%systemroot%\Soap Bubbles.bmp"
DEL "%systemroot%\Zapotec.bmp"
DEL "%systemdrive%\Documents and Settings\All Users\「开始」菜单\*.lnk" >nul
ECHO.
ECHO Installing WinRAR 3.20 (这里就是你所说的软件安装,软件自然要放到install\Applications中)
ECHO Please wait...
start /wait %systemdrive%\install\Applications\winrar.exe /S
ECHO.
ECHO 注册 WinRAR 3.20
ECHO Please wait...
COPY "%systemdrive%\Install\Applications\Rarreg.key" "%systemdrive%\Program Files\WinRAR\"
ECHO.
ECHO Installing Windows Media Player 9
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Mpsetup.EXE /Q:A /R:N
ECHO.
ECHO Installing Flashget 1.4
ECHO 请稍等...
start /wait %systemdrive%\install\Applications\fg140.exe /S
ECHO.
ECHO 注册 Flashget 1.4
ECHO Please wait...
COPY "%systemdrive%\Install\Applications\flashget.exe" "%systemdrive%\Program Files\FlashGet\"
ECHO.
ECHO Installing Office 2000 迷你版
ECHO 请稍等...
start /wait %systemdrive%\install\Applications\setup.exe
ECHO.
ECHO 安装系统安全补丁,请等待....
ECHO Installing Q813951...
start /wait %systemdrive%\install\Hotfixes\q813951.exe /Q:A /R:N
ECHO.
ECHO Installing Q831167...
start /wait %systemdrive%\install\Hotfixes\Q831167.exe /Q:A /R:N
ECHO.
ECHO Installing Q330994...
start /wait %systemdrive%\install\Hotfixes\q330994.exe /Q:A /R:N
ECHO.
ECHO Installing Js56nchs...
start /wait %systemdrive%\install\Hotfixes\js56nchs.exe /Q:A /R:N
ECHO.
ECHO Installing WM320920_64...
start /wait %systemdrive%\install\Hotfixes\wm320920_64.exe /Q:A /R:N
ECHO.
ECHO Installing Q832894...
start /wait %systemdrive%\install\Hotfixes\Q832894.exe /Q:A /R:N
ECHO.
ECHO Installing WindowsMedia9-KB819639-x86-ENU...
start /wait %systemdrive%\install\Hotfixes\WindowsMedia9-KB819639-x86-ENU.exe /Q:A /R:N
ECHO.
ECHO 删除安装过程中的临时文件...
ECHO.
RD /S /Q %systemdrive%\install
ECHO.
Exit

欢迎来我的论坛作客,讨论启动技术:

http://www.haopeng.org/bbs/

启动技术区
影视音乐区
游戏动漫区
休闲娱乐区  

TOP

高手进来看看?

在winnt.sif中加入:
[GuiRunOnce]
%systemdrive%\install\applications.cmd
%systemdrive%\install\hotfixes.cmd
%systemdrive%\install\main_batch.cmd
其实这不过是用三个批处理文件而已,你可以根据自己的需要来设计批处理。
批处理文件要单独建立,不是写在winnt.sif里,在winnt.sif里只不过是调用已编好的批处理而已。将那一大段命令复制到一个文本文档中,然后保存为applications.cmd,再把它放到windows2000目录下的$OEM$\$1\INSTALL中,这样安装程序安到最后会将INSTALL目录复制到硬盘分区上,然后winnt.sif就可以通过%systemdrive%\install\applications.cmd 这个命令找到这个批处理了。%systemdrive%其实就是你要安装系统的硬盘分区。
欢迎来我的论坛作客,讨论启动技术:

http://www.haopeng.org/bbs/

启动技术区
影视音乐区
游戏动漫区
休闲娱乐区  

TOP

高手进来看看?

如果是3个批处理自然要用3个文本文档来写,写好了分别保存为applications.cmd
hotfixes.cmd、main_batch.cmd、保存在$OEM$\$1\INSTALL中。
也就是你的win2000根目录中最起码应有i386和$OEM$两个文件夹。

欢迎来我的论坛作客,讨论启动技术:

http://www.haopeng.org/bbs/

启动技术区
影视音乐区
游戏动漫区
休闲娱乐区  

TOP

发新话题