AppIdOrPathAppIdOrPath
AppIdOrPath
指定AppID
Microsoft Store 應用程式中,或顯示為正方形磚的桌面應用程式的路徑啟動螢幕。AppIdOrPath
specifies the AppID
of the Microsoft Store apps, or the path to the desktop apps that appear as square tiles on the Start screen. AppId
必須是AppUserModelID
在應用程式的 AUMIDs.txt 檔案中,從 Microsoft Store OEM 通道 partner 入口網站下載的應用程式套件中找到。The AppId
must be the AppUserModelID
found in the application's AUMIDs.txt file, which is located in the app package downloaded from the OEM channel partner portal of the Microsoft Store.
值Values
AppIdOrPath
是字串,最大值為 256 個字元。The AppIdOrPath
is a string, with a maximum value of 256 characters.
有效的設定階段Valid Configuration Passes
特製化specialize
auditUserauditUser
oobeSystemoobeSystem
父階層Parent Hierarchy
Microsoft-Windows-Shell-Setup | StartTiles | SquareTiles | SquareOrDesktopTile11 | AppIdOrPathMicrosoft-Windows-Shell-Setup | StartTiles | SquareTiles | SquareOrDesktopTile11 | AppIdOrPath
套用至Applies To
如需此元件支援的架構與 Windows 版本的清單,請參閱Microsoft Windows Shell-安裝。For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.
XML 範例XML Example
下列的 XML 輸出會顯示如何使用<SquareOrDesktopTile6>
元件。The following XML output shows how to use the <SquareOrDesktopTile6>
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>
<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>