|
- <?xml version="1.0" encoding="utf-8"?>
- <unattend xmlns="urn:schemas-microsoft-com:unattend">
- <settings pass="oobeSystem">
- <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <FirstLogonCommands>
- <SynchronousCommand wcm:action="add">
- <Description>CopyWhenFirstBoot</Description>
- <CommandLine>cmd /q /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\MY_COPY_XXX.bat cmd /k %i:\MY_COPY_XXX.bat %i"</CommandLine>
- <Order>1</Order>
- </SynchronousCommand>
- </FirstLogonCommands>
- </component>
- </settings>
- </unattend>
复制代码
这方法还是差了点:
1、放在U盘上即U盘不能拔除直到安装结束;
2、U 盘总是连接即启动时好容易被误启动。
3、如果将检测的文件放在硬盘上,只方便有预算安装系统的自己。帮别人装就麻烦。
如果可以将文件(夹)模拟追加到虚拟出来的 ISO 盘就更好! |
|