AcceptEulaAcceptEula

AcceptEula 指定是否自动接受 Microsoft 软件许可条款。AcceptEula specifies whether to automatically accept the Microsoft Software License Terms.

注意Note
所有无人参与安装都需要此设置。This setting is required for all unattended installations. 若要防止 Windows 安装程序用户界面 (UI) 显示,则必须配置此设置。To prevent the Windows Setup user interface (UI) from displaying, you must configure this setting. 有关必需设置的完整列表,请参阅 windows 评估和部署工具包中的 如何自动 Windows 安装程序 主题 (windows ADK) 技术参考。For a complete list of required settings, see the How to Automate Windows Setup topic in the Windows Assessment and Deployment Kit (Windows ADK) Technical Reference.

Values

truetrue

指定在未向最终用户显示的情况下自动接受许可条款。Specifies that the license terms are automatically accepted without being displayed to the end user.

falsefalse

在继续 Windows 安装程序之前,提示最终用户接受许可条款。Prompts the end user to accept the license terms before proceeding with Windows Setup. 这是默认值。This is the default value.

注意Note
AcceptEula 升级过程中,将忽略的值。The value for AcceptEula is ignored during upgrades.

有效的配置阶段Valid Configuration Passes

windowsPEwindowsPE

父层次结构Parent Hierarchy

microsoft-windows-设置- | UserData | AcceptEulamicrosoft-windows-setup- | UserData | AcceptEula

应用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 microsoft-安装-For a list of the supported Windows editions and architectures that this component supports, see microsoft-windows-setup-.

XML 示例XML Example

下面的 XML 示例输出显示了如何设置用户数据。The following sample XML output shows how to set user data.

<UserData>
   <AcceptEula>true</AcceptEula>
   <FullName>EndUserName</FullName>
   <Organization>Fabrikam</Organization>
   <ProductKey>
      <Key>12345-12345-12345-12345-12345</Key>
      <WillShowUI>Never</WillShowUI>
   </ProductKey>
</UserData>

UserDataUserData