SquareOrDesktopTile8 (microsoft-starttiles-regionaloverrides-regionaloverride-squaretiles-SquareOrDesktopTile8) SquareOrDesktopTile8 (microsoft-windows-shell-setup-starttiles-regionaloverrides-regionaloverride-squaretiles-squareordesktoptile8)

SquareOrDesktopTile8 指定哪个应用程序在 " 开始 " 菜单上显示为正方形磁贴,位置 SquareOrDesktopTile8。SquareOrDesktopTile8 specifies which application appears as a square tile on the Start menu, in position SquareOrDesktopTile8. 根据目标设备的屏幕大小、分辨率和 DPI,此位置可能有所不同。This position may vary based on the screen size, resolution, and DPI of the target device.

如果当前用户帐户的区域在 "开始" 磁贴区域替代中,则可以使用此设置。If the region of the current user account is among those in the Start Tile regional overrides, you can use this setting. 有关详细信息,请参阅 RegionalOverridesFor more information, see RegionalOverrides.

子元素Child Elements

设置Setting 说明Description
AppIdOrPathAppIdOrPath 指定 AppID Microsoft Store 应用的或桌面应用程序的路径,这些应用程序在 " 开始 " 屏幕上显示为正方形磁贴。Specifies the AppID of the Microsoft Store apps, or the path to the desktop apps, which appear as square tiles on the Start screen.
FirstRunTaskFirstRunTask 指定默认情况下,当用户第一次登录到 Windows 时,默认情况下为磁贴活动或活动的后台任务。Specifies the background task that is active, or live, by default for a tile when a user signs in to Windows for the first time.

有效的配置阶段Valid Configuration Passes

specializespecialize

auditUserauditUser

oobeSystemoobeSystem

父层次结构Parent Hierarchy

Microsoft-Shell-安装程序 | StartTiles | RegionalOverrides | RegionalOverride | SquareTiles |SquareOrDesktopTile8Microsoft-Windows-Shell-Setup| StartTiles | RegionalOverrides | RegionalOverride | SquareTiles|SquareOrDesktopTile8

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-Shell-SetupFor a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 示例XML Example

以下 XML 输出显示了如何使用该 <SquareOrDesktopTile8> 组件。The following XML output shows how to use the <SquareOrDesktopTile8> component.

<SquareTiles>
          <SquareOrDesktopTile1>
               <AppIdOrPath>C:\programdata\microsoft\windows\start menu\programs\desktoptile1.lnk</AppIdOrPath>
               <FirstRunTask>backgroundtask.js</FirstRunTask>
          </SquareOrDesktopTile1>
          <SquareOrDesktopTile2>
               <AppIdOrPath>67890ChannelFabrikam.channel-JKL_mnop1234789!App</AppIdOrPath>
               <FirstRunTask>Fabrikam.FirstRunTask</FirstRunTask>
          </SquareOrDesktopTile2>
          <SquareOrDesktopTile8>
               <AppIdOrPath>C:\programdata\microsoft\windows\start menu\programs\desktoptile3.lnk</AppIdOrPath>
          </SquareOrDesktopTile8>
          <SquareTile1>
               <AppId>12345ChannelFabrikam.channel-ABC_defghij6789!App</AppId>
               <FirstRunTask>backgroundtask.js</FirstRunTask>
          </SquareTile1>
          <SquareTile2>
               <AppId>34567ChannelFabrikam.channel-DEF_012ghijk345!App</AppId>
               <FirstRunTask>Fabrikam.FirstRunTask</FirstRunTask>
          </SquareTile2>
          <SquareTile3>
               <AppId>56789ChannelFabrikam.channel-GHI_67890jklmno!App</AppId>
          </SquareTile3>
     </SquareTiles>

StartTilesStartTiles

RegionalOverridesRegionalOverrides

SquareTilesSquareTiles