簡體   English   中英

在安裝WES8時,是否可以在WindowsPE步驟之后關閉計算機?

[英]When installing WES8, is there a way to shut down the computer after the WindowsPE step?

我必須創建一個從USB記憶棒安裝的Windows Embedded 8系統安裝過程。 安裝過程應盡可能減少用戶交互,安裝人員最好使用盡可能少的時間來保姆。

為此,我需要在WES8安裝WindowsPE步驟之后關閉計算機。 我曾嘗試在Embedded Core配置的“ WindowsPE”部分中將“ 重新啟動 ”設置為“關機”,但它仍會重新引導計算機,如果計算機重新引導,則Windows安裝將重新開始。

所以我的問題是:在WindowsPE步驟之后,有沒有辦法使WES8的安裝關閉計算機?

我們已經研究過更新BIOS,因此需要手動干預才能從USB啟動,但這會使安裝和升級過程變得比我更喜歡。

這是我們無人值守文件的相關部分:

<settings pass="windowsPE">
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <UserData>
            <ProductKey>
                <Key></Key>
                <WillShowUI>Never</WillShowUI>
            </ProductKey>
            <AcceptEula>true</AcceptEula>
            <Organization></Organization>
        </UserData>
        <ImageInstall>
            <OSImage>
                <WillShowUI>OnError</WillShowUI>
                <InstallTo>
                    <DiskID>0</DiskID>
                    <PartitionID>2</PartitionID>
                </InstallTo>
            </OSImage>
        </ImageInstall>
        <DiskConfiguration>
            <WillShowUI>OnError</WillShowUI>
            <Disk wcm:action="add">
                <CreatePartitions>
                    <CreatePartition wcm:action="add">
                        <Order>1</Order>
                        <Size>350</Size>
                        <Type>Primary</Type>
                        <Extend>false</Extend>
                    </CreatePartition>
                    <CreatePartition wcm:action="add">
                        <Extend>true</Extend>
                        <Order>2</Order>
                        <Type>Primary</Type>
                    </CreatePartition>
                </CreatePartitions>
                <ModifyPartitions>
                    <ModifyPartition wcm:action="add">
                        <Order>1</Order>
                        <PartitionID>1</PartitionID>
                        <Label>System</Label>
                        <Format>NTFS</Format>
                        <Active>true</Active>
                    </ModifyPartition>
                    <ModifyPartition wcm:action="add">
                        <Order>2</Order>
                        <PartitionID>2</PartitionID>
                        <Label>Windows</Label>
                        <Format>NTFS</Format>
                        <Letter>C</Letter>
                    </ModifyPartition>
                </ModifyPartitions>
                <WillWipeDisk>true</WillWipeDisk>
                <DiskID>0</DiskID>
            </Disk>
        </DiskConfiguration>
        <UseConfigurationSet>true</UseConfigurationSet>
        <Restart>Shutdown</Restart>
    </component>
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <SetupUILanguage>
            <UILanguage>en-US</UILanguage>
            <WillShowUI>Never</WillShowUI>
        </SetupUILanguage>
        <InputLocale>en-US</InputLocale>
        <SystemLocale>en-US</SystemLocale>
        <UILanguage>en-US</UILanguage>
        <UILanguageFallback>en-US</UILanguageFallback>
        <UserLocale>en-US</UserLocale>
    </component>
    <component name="Microsoft-Windows-MMCSS" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <SystemResponsiveness>20</SystemResponsiveness>
        <Start>3</Start>
    </component>
</settings>

實際上,安裝會重新開始,因為在計算機重新啟動時,它會從USB記憶棒重新啟動,而不是從全新安裝的分區開始。

為此,您沒有很多可能性:

  • 在重新啟動之前,讓用戶刪除USB記憶棒,以便計算機將從唯一可用的驅動器啟動。 這有點煩人,因為重新啟動時您必須在那里。
  • 我們所做的:在安裝BIOS之前,請按以下順序引導它:

    1. 硬盤
    2. USB記憶棒

因此,在第一次啟動時,計算機將從USB記憶棒啟動(因為硬盤驅動器上沒有操作系統),而在第二次啟動時,硬盤驅動器中安裝的OS將啟動,Windows將繼續其安裝過程。

不幸的是,我不知道另一種選擇。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM