次の方法で共有


s4:MainBundle

説明

メイン バンドル パッケージに関する情報を指定します。 (s4:MainBundle)

要素の階層

s4:AppInstaller

     <s4:MainBundle>

構文

<s4:MainBundle     Name = A string with a value between 3 and 50 characters in length that consists of alpha-numeric, period, and dash characters.
    Publisher = A string with a value between 1 and 8192 characters in length that fits the regular expression  of a distinguished name.
    Version = A version string in quad notation, "Major.Minor.Build.Revision" where Major cannot be "0".
    Uri = Web URI as a string between 1 and 2084 characters in length.
></s4:MainBundle>

属性

属性 説明 データ型 必須
名前 バンドル マニフェストの ID 要素で指定されたバンドル名。 Name 属性では大文字と小文字が区別されません。 英数字、ピリオド、ダッシュ文字で構成される長さが 3 ~ 50 文字の文字列。 Yes
Publisher バンドル マニフェストの ID 要素で指定された発行元。 識別名の正規表現に適合する長さが 1 ~ 8192 文字の文字列。 Yes
バージョン バンドル マニフェストの ID 要素で指定されたバージョン。 四角形表記のバージョン文字列 、"Major.Minor.Build.Revision" (Major を "0" にすることはできません) Yes
Uri アプリ パッケージの場所への URI。 長さが 1 ~ 2084 文字の文字列としての Web URI。 Yes

親要素

親要素 説明
s4:AppInstaller AppInstaller ファイルのルート要素を定義します。

注釈

要素で<AppInstaller>宣言できるのは、 または <MainPackage> のいずれか <MainBundle> 1 つだけです。

要素は <MainBundle> 、アプリ パッケージ バンドル (.appxbundle) にのみ使用する必要があります。

要件

要件
xmlns:s4=http://schemas.microsoft.com/appx/appinstaller/2021 この名前空間は、Windows バージョン 21H2 ビルド 22000 で導入された機能に必要です
最小 OS バージョン Windows バージョン 21H2 ビルド 22000