Share via


desktop7:DesktopApp

指定在傳統型應用程式移轉過程中應更新之磚或釘選的來源和目標。

元素階層

<套件>

    <應用程式>

         <應用程式>

              <擴充功能>

                   <desktop7:Extension>

                        <desktop7:Shortcut>

                             <desktop7:DesktopAppMigration>

                                  <desktop7:DesktopApp>

Syntax

<desktop7:DesktopApp
  AumId = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
  ShortcutPath = 'A string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
  Executable = 'A string with a value between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *.' />

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
AumId 要移轉之傳統型應用程式的應用程式使用者模型識別碼。 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾為非空白字元。 Yes
ShortcutPath 要從中移轉的相對快捷方式路徑 (.lnk) 。 長度介於 1 到 32767 個字元之間的字串,其開頭和結尾為非空白字元。 Yes
可執行檔 應該移轉快捷方式的可執行檔。 長度介於 1 到 256 個字元之間的字串,必須以 .exe 結尾且不能包含下列字元: < 、、 >:"|?* Yes

子元素

無。

父元素

父元素 描述
DesktopAppMigrations 指定磚和釘選的一組應用程式移轉專案。

規格需求

Item
命名空間 http://schemas.microsoft.com/appx/manifest/desktop/windows10/7
OS 最低版本 Windows 10 (組建 19645)