我发现一些信息表明 IOT Enterprise 与常规 Enterprise 在二进制上是相同的,但我在尝试调用嵌入式功能的应答文件时遇到了一些问题。
具体来说,我在日志中收到一条错误,指出无法找到 Microsoft-Windows-Embedded-EmbeddedLogon 和 Microsoft-Windows-Embedded-ShellLauncher 的命名空间。我已将我认为是相关部分的日志内容包含在以下部分中。
2019-04-29 10:02:03, Warning [setup.exe] SMI data results dump: Source = Name: Microsoft-Windows-Embedded-ShellLauncher, Language: neutral, ProcessorArchitecture: amd64, PublicKeyToken: 31bf3856ad364e35, VersionScope: NonSxS
2019-04-29 10:02:03, Warning [setup.exe] SMI data results dump: Description = Unable to find a component matching the given namespace.
2019-04-29 10:02:03, Warning [setup.exe] SMI data results dump: Source = Name: Microsoft-Windows-Embedded-EmbeddedLogon, Language: neutral, ProcessorArchitecture: amd64, PublicKeyToken: 31bf3856ad364e35, VersionScope: nonSxS
2019-04-29 10:02:03, Warning [setup.exe] SMI data results dump: Description = Unable to find a component matching the given namespace.
我的应答文件中的 XML 如下:
<settings pass="specialize">
<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">
<ComputerName>*</ComputerName>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>768</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>1024</VerticalResolution>
</Display>
<Themes>
<ThemeName>Viper Theme</ThemeName>
<DesktopBackground>%WINDIR%\Web\Wallpaper\SpectrumMedicalBackground.jpg</DesktopBackground>
</Themes>
</component>
<component name="Microsoft-Windows-Embedded-EmbeddedLogon" 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">
<AnimationDisabled>1</AnimationDisabled>
<HideAutoLogonUI>1</HideAutoLogonUI>
<NoLockScreen>1</NoLockScreen>
<UIVerbosityLevel>1</UIVerbosityLevel>
</component>
<component name="Microsoft-Windows-Embedded-ShellLauncher" 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">
<Shell>C:\Launcher.exe</Shell>
<DefaultReturnCodeAction>3</DefaultReturnCodeAction>
</component>
</settings>
更新:我在与“Microsoft-Windows-Embedded-ShellLauncher”名称匹配的目录中找到了一个名为“ShellLauncherConfig.exe”的程序,并尝试从 powershell 运行它。我收到一条错误消息,提示该可执行文件不是此操作系统平台的有效应用程序。