unattend.xml始终在磁盘配置中停止 [英] unattend.xml always stops at disk configuration

查看:114
本文介绍了unattend.xml始终在磁盘配置中停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用ICE来构建IBW图像。 我使图像在开发机器中可共享,将目标引导到自定义WinPE,安装开发共享并从映射驱动器手动运行IBW设置。

I use ICE to build the IBW image.  I make the image shareable in the development machine, boot the target into a custom WinPE, mount the development share and run the IBW setup manually from the mapped drive.

我使用ICE创建一个带磁盘布局设置的unattend.xml。 当我运行它时,我总是会看到GUI磁盘配置对话框(即使WillShowUI =从不)。  只要磁盘没有现有分区,如果我只接受
默认磁盘设置,则按照我的意愿配置所有内容并正确安装WES7。 我只需要能够禁止磁盘设置对话框,我就可以进行完全无人值守的安装。

I use ICE to create an unattend.xml with disk layout settings.  When I run it I am always presented with the GUI disk configuration dialog (even if WillShowUI = Never).   So long as the disk has no existing partitions, if I just accept the default disk setting everything is configured as I want and WES7 is correctly installed.  I just need to be able to suppress the disk setup dialog and I will be able to make a completely unattended install.

unattend.xml文件中的相应条目如下...

The appropriate entries in the unattend.xml file are as follows ...

  < DiskConfiguration>

      < Disk wcm:action =" add">

          < CreatePartitions>

              < CreatePartition中WCM:行动= [新增">

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP; <排序> 1< /排序>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ; <类型>初级与LT; /类型>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ; <尺寸> 11000< /尺寸>

              < / CreatePartition>

          < / CreatePartitions>

          < ModifyPartitions>

              < ModifyPartition中WCM:行动= [新增">

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ;&NBSP;&NBSP; <的partitionid→1< / partitionid的>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ; <标签> WES7< /标签>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ; <信>℃下/信>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ; <格式> NTFS< /格式>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ; <活动>真< /主动>

&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP ; <订单> 1< /订单>

              < / ModifyPartition>

          < / ModifyPartitions>

          < WillWipeDisk> true< / WillWipeDisk>

          < DiskID> 0< / DiskID>

      < / Disk>

      < WillShowUI>从不< / WillShowUI>

  < / DiskConfiguration>

  <DiskConfiguration>
      <Disk wcm:action="add">
          <CreatePartitions>
              <CreatePartition wcm:action="add">
                  <Order>1</Order>
                  <Type>Primary</Type>
                  <Size>11000</Size>
              </CreatePartition>
          </CreatePartitions>
          <ModifyPartitions>
              <ModifyPartition wcm:action="add">
                  <PartitionID>1</PartitionID>
                  <Label>WES7</Label>
                  <Letter>C</Letter>
                  <Format>NTFS</Format>
                  <Active>true</Active>
                  <Order>1</Order>
              </ModifyPartition>
          </ModifyPartitions>
          <WillWipeDisk>true</WillWipeDisk>
          <DiskID>0</DiskID>
      </Disk>
      <WillShowUI>Never</WillShowUI>
  </DiskConfiguration>

推荐答案

好的,找到了解决方案。 您需要更改答案文件中的其他一些设置,如下所示...

OK, found the solution.  You need to change some other settings in the answer file as follows ...

Microsoft-Windows-Setup \ ImageInstall \OSImage \InstallTo \DiskID = Diskpart number要安装o / s的磁盘

Microsoft-Windows-Setup \ ImageInstall \OSImage \InstallTo\PartitionID = Diskpart分区的编号o / s要安装

Microsoft-Windows-Setup \ ImageInstall \OSImage \WillShowUI = On Error or Never

磁盘和分区号必须与您在CreatePartition和ModifyPartition设置中指定的数字相匹配。

The disk and partition numbers MUST match the numbers you specified in the CreatePartition and ModifyPartition settings.


这篇关于unattend.xml始终在磁盘配置中停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆