AppIdOrPath (windows-shell-setup-starttiles-regionaloverrides-regionaloverride-squaretiles-squareordesktoptile4-appidorpath)

AppIdOrPathAppID 指定 Microsoft Store 應用程式的 ,或 [ 開始 ] 畫面上顯示為方形磚之傳統型應用程式的路徑。 AppId必須是 AppUserModelID 在應用程式的 AUMIDs.txt 檔案中找到的 ,該檔案位於從 Microsoft Store 的 OEM 通道合作夥伴入口網站下載的應用程式套件中。

如果目前使用者帳戶的區域位於 [開始磚] 區域版面配置中的區域,您可以使用此設定。 如需詳細資訊,請參閱 RegionalOverrides

AppIdOrPath是字串,最大值為 256 個字元。

有效的設定階段

特殊化

auditUser

oobeSystem

父階層

Microsoft-Windows-Shell-Setup | StartTiles | RegionalOverrides | RegionalOverride | SquareTiles | SquareOrDesktopTile4 | AppIdOrPath

套用至

如需此元件支援的 Windows 版本和架構清單,請參閱 Microsoft-Windows-Shell-Setup

XML 範例

下列 XML 輸出示範如何使用 <SquareOrDesktopTile4> 元件。

<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>
          <SquareOrDesktopTile3>
               <AppIdOrPath>C:\programdata\microsoft\windows\start menu\programs\desktoptile3.lnk</AppIdOrPath>
          </SquareOrDesktopTile3>
          <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> 

StartTiles

RegionalOverrides

SquareTiles

SquareTiles