다음을 통해 공유


MainBundle

MainBundle 요소는 이름, 게시자, 버전 및 URI를 포함하는 번들 패키지에 대한 정보를 지정합니다.

요소 계층 구조

<AppInstaller>
**MainBundle**

구문

<MainBundle 
    Name        = A string between 3 and 50 characters in length that consists of alpha-numeric, period, and dash characters.
    Publisher   = A string between 1 and 8192 characters in length that fits the regular expression of a distinguished name : "(CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")(, ((CN|L|O|OU|E|C|S|STREET|T|G|I|SN|DC|SERIALNUMBER|(OID\.(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))+))=(([^,+="<>#;])+|".*")))*". Further, semantic validation ensures that the string is compliant with CertNameToStr Windows API implementation of X.500 rules.
    Version     = A version string in quad notation, "Major.Minor.Build.Revision".
    Uri         = Uri to the app package location />

특성 및 요소

특성

attribute Description 데이터 형식 필수
Name 번들 매니페스트의 ID 요소에 지정된 이름입니다. Name 특성은 대/소문자를 구분하지 않습니다. 알파 숫자, 마침표 및 대시 문자로 구성된 길이가 3자에서 50자 사이의 문자열입니다. Yes
Publisher 번들 매니페스트의 ID 요소에 지정된 게시자입니다. 고유 이름의 정규식에 맞는 길이가 1~8192자인 문자열입니다. 또한 의미 체계 유효성 검사는 문자열이 X.500 규칙의 CertNameToStr Windows API 구현을 준수하는지 확인합니다. Yes
버전 번들 매니페스트의 ID 요소에 지정된 버전입니다. 쿼드 표기법의 버전 문자열인 "Major.Minor.Build.Revision"입니다. Yes
URI 앱 패키지 위치에 대한 URI 길이가 1자에서 2084자 사이의 문자열인 URI입니다. Yes

부모 요소

부모 요소 Description
AppInstaller appinstaller 문서의 루트 요소입니다.

설명

요소에서 또는 <MainPackage><MainBundle> 하나만 선언 <AppInstaller> 할 수 있습니다.

요소는 <MainBundle> 앱 패키지 번들(.appxbundle)에만 사용해야 합니다.

요구 사항 Description
xmlns=http://schemas.microsoft.com/appx/appinstaller/2017 이 네임스페이스는 Windows 10 버전 1709에 도입된 기능에 필요합니다.
최소 OS 버전 Windows 10, 버전 1709