VirtualBox

vbox的更動 67883 路徑 trunk/src/VBox/Installer


忽略:
時間撮記:
2017-7-10 下午04:00:46 (7 年 以前)
作者:
vboxsync
訊息:

UnattededScript: Converted the NT6+ XML editor to mad libs too.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Installer/common/unattended_templates/win_nt6_unattended.xml

    r67881 r67883  
    33
    44  <settings pass="windowsPE">
    5     <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="$arch" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
     5    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
    66      <InputLocale>en-US</InputLocale>
    77      <SystemLocale>en-US</SystemLocale>
     
    1010    </component>
    1111   
    12     <component name="Microsoft-Windows-Setup" processorArchitecture="$arch" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
     12    <component name="Microsoft-Windows-Setup" processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
     13      publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
    1314
    1415      <DiskConfiguration>
     
    2526        </CreatePartitions>
    2627        </Disk>
    27     </DiskConfiguration>
     28      </DiskConfiguration>
    2829
    29     <UserData>
    30       <ProductKey>
    31         <Key>$ProductKey</Key>
    32         <WillShowUI>OnError</WillShowUI>
    33       </ProductKey>
    34       <AcceptEula>true</AcceptEula>
    35     </UserData>
     30      <UserData>
     31        <ProductKey>
     32          <Key>@@VBOX_INSERT_PRODUCT_KEY_ELEMENT@@</Key>
     33          <WillShowUI>OnError</WillShowUI>
     34        </ProductKey>
     35        <AcceptEula>true</AcceptEula>
     36      </UserData>
    3637
    37     <ImageInstall>
    38       <OSImage>
    39         <InstallFrom>
    40           <MetaData wcm:action="add">
    41             <Key>IMAGE/INDEX</Key>
    42             <Value>1</Value>
    43           </MetaData>
    44           <Path>d:\sources\install.wim</Path>
    45         </InstallFrom>
    46         <InstallTo>
    47           <DiskID>0</DiskID>
    48           <PartitionID>1</PartitionID>
    49         </InstallTo>
    50         <WillShowUI>OnError</WillShowUI>
    51         <InstallToAvailablePartition>false</InstallToAvailablePartition>
    52       </OSImage>
    53     </ImageInstall>
    54    
    55     <ComplianceCheck>
    56       <DisplayReport>OnError</DisplayReport>
    57     </ComplianceCheck>
     38      <ImageInstall>
     39        <OSImage>
     40          <InstallFrom>
     41            <MetaData wcm:action="add">
     42              <Key>IMAGE/INDEX</Key>
     43              <Value>@@VBOX_INSERT_IMAGE_INDEX_ELEMENT@@</Value>
     44            </MetaData>
     45            <Path>d:\sources\install.wim</Path>
     46          </InstallFrom>
     47          <InstallTo>
     48            <DiskID>0</DiskID>
     49            <PartitionID>1</PartitionID>
     50          </InstallTo>
     51          <WillShowUI>OnError</WillShowUI>
     52          <InstallToAvailablePartition>false</InstallToAvailablePartition>
     53        </OSImage>
     54      </ImageInstall>
     55
     56      <ComplianceCheck>
     57        <DisplayReport>OnError</DisplayReport>
     58      </ComplianceCheck>
     59
    5860    </component>
    5961  </settings>
    6062
    6163  <settings pass="oobeSystem">
    62     <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="$arch" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
     64    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="@@VBOX_INSERT_OS_ARCH_ATTRIB_DQ@@"
     65      publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
    6366      <AutoLogon>
    64       <Password>
    65         <Value>$password</Value>
    66         <PlainText>true</PlainText>
    67       </Password>
    68       <Enabled>true</Enabled>
    69       <Username>$user</Username>
     67        <Password>
     68          <Value>@@VBOX_INSERT_USER_PASSWORD_ELEMENT@@</Value>
     69          <PlainText>true</PlainText>
     70        </Password>
     71        <Enabled>true</Enabled>
     72        <Username>@@VBOX_INSERT_USER_LOGIN_ELEMENT@@</Username>
    7073      </AutoLogon>
    7174
     
    7376      <LocalAccounts>
    7477        <LocalAccount wcm:action="add">
    75         <Name>$user</Name>
     78        <Name>@@VBOX_INSERT_USER_LOGIN_ELEMENT@@</Name>
    7679        <Group>administrators;users</Group>
    7780        <Password>
    78           <Value>$password</Value>
     81          <Value>@@VBOX_INSERT_USER_PASSWORD_ELEMENT@@</Value>
    7982          <PlainText>true</PlainText>
    8083        </Password>
     
    101104          <CommandLine>cmd /c reg add "HKLM\SYSTEM\CurrentControlSet\Control\Network\NewNetworkWindowOff"</CommandLine>
    102105        </SynchronousCommand>
     106@@VBOX_COND_IS_INSTALLING_ADDITIONS@@
     107<!-- TODO: The following two command can be combined. -->
    103108        <SynchronousCommand wcm:action="add">
    104109          <Order>2</Order>
     
    111116          <CommandLine>e:\VBoxWindowsAdditions.exe /S</CommandLine>
    112117        </SynchronousCommand>
     118@@VBOX_COND_END@@
    113119      </FirstLogonCommands>
    114120
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette