AppIdOrPath (starttiles-squaretiles-squareordesktoptile12-AppIdOrPath) AppIdOrPath (microsoft-windows-shell-setup-starttiles-squaretiles-squareordesktoptile12-appidorpath)
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 渠道合作伙伴门户下载的应用包中。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
specializespecialize
auditUserauditUser
oobeSystemoobeSystem
父层次结构Parent Hierarchy
Microsoft-Shell-安装程序 | StartTiles | SquareTiles | SquareOrDesktopTile12 | AppIdOrPathMicrosoft-Windows-Shell-Setup | StartTiles | SquareTiles | SquareOrDesktopTile12 | AppIdOrPath
适用于Applies To
有关此组件支持的 Windows 版本和体系结构的列表,请参阅 Microsoft-Windows-Shell-Setup。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>