desktop6:Extension(패키지/확장)

데스크톱 애플리케이션에 대한 확장 지점을 선언합니다.

요소 계층 구조

<패키지>

    <확장>

         <desktop6:Extension>

Syntax

<desktop6:Extension
  Category = 'A string that can have one of the following values: "windows.mutablePackageDirectories" or "windows.customInstall".'
  Executable = 'An optional string with a value between 1 and 256 characters in length that must end with ".exe" and cannot contain these characters: <, >, :, ", |, ?, or *. It specifies the default executable for the extension. If not specified, the executable defined for the app is used.  If specified, the EntryPoint property is also used. If that EntryPoint property isnt specified, the EntryPoint defined for the app is used.'
  EntryPoint = 'An optional string with a value between 1 and 256 characters in length, representing the  task handling the extension. This is normally the fully namespace-qualified name of a Windows Runtime type. If EntryPoint is not specified, the EntryPoint defined for the app is used instead.'
  RuntimeType = 'An optional string with a value between 1 and 255 characters in length that cannot start or end with a period or contain these characters: <, >, :, ", /, \, |, ?, or *.'
  StartPage = 'An optional string with a value between 1 and 256 characters in length that cannot contain these characters: <, >, :, ", |, ?, or *.'
  uap10:TrustLevel = 'An optional string that can have one of the following values: "appContainer" or "mediumIL".'
  uap10:RuntimeBehavior = 'An optional string that can have one of the following values: "windowsApp", "packagedClassicApp", or "win32App".'
  uap10:HostId = 'An alphanumeric string with a value between 1 and 255 characters in length. Must begin with a letter.'
  uap10:Parameters = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.' >

  <!-- Child elements -->
  ( desktop6:MutablePackageDirectories
  | desktop6:CustomInstall )?

</desktop6:Extension>

? 선택 사항(0개 또는 1개)

특성 및 요소

특성

attribute Description 데이터 형식 필수 기본값
범주 확장의 범주입니다. windows.mutablePackageDirectories 또는 windows.customInstall 값 중 하나를 가질 수 있는 문자열입니다. Yes
실행 파일 기본 시작 실행 파일입니다. 길이가 1~256자인 선택적 문자열로, 로 끝나 .exe 야 하며 , , >, ?:"|또는 *문자를 <포함할 수 없습니다. 확장의 기본 실행 파일을 지정합니다. 지정하지 않으면 앱에 대해 정의된 실행 파일이 사용됩니다. 지정한 경우 EntryPoint 속성도 사용됩니다. 해당 EntryPoint 속성을 지정하지 않으면 앱에 대해 정의된 EntryPoint가 사용됩니다. No
EntryPoint 활성화 가능한 클래스 ID입니다. 확장을 처리하는 작업을 나타내는 길이가 1~256자인 선택적 문자열입니다. 이는 일반적으로 Windows 런타임 형식의 정규화된 네임스페이스 이름입니다. EntryPoint를 지정하지 않으면 앱에 대해 정의된 EntryPoint가 대신 사용됩니다. No
RuntimeType 런타임 공급자입니다. 이 특성은 일반적으로 앱에 혼합 프레임워크가 있는 경우에 사용됩니다. 마침표로 시작하거나 끝낼 수 없거나 , "\?>:/|또는 *문자를 포함할 수 없는 길이가 1~255자<인 선택적 문자열입니다. No
StartPage 확장성 지점을 처리하는 웹 페이지입니다. , ">:|?또는 *문자를 포함할 수 없는 길이가 1~256자<인 선택적 문자열입니다. No
uap10:TrustLevel 확장의 신뢰 수준을 지정합니다. appContainer 또는 mediumIL 값 중 하나를 가질 수 있는 선택적 문자열입니다. No
uap10:RuntimeBehavior 확장의 런타임 동작을 지정합니다. windowsApp, packagedClassicApp 또는 win32App 값 중 하나를 가질 수 있는 선택적 문자열입니다. No
uap10:HostId 확장에 대한 호스트 런타임의 ID를 지정합니다. 길이가 1~255자인 영숫자 문자열입니다. 문자로 시작해야 합니다. No
uap10:Parameters 확장에 전달할 명령줄 매개 변수를 포함합니다. 패키지 ID가 있는 데스크톱 앱에 대해서만 지원됩니다. 시작과 끝에 공백이 아닌 문자가 있는 길이가 1~32767자인 선택적 문자열입니다. No

자식 요소

자식 요소 Description
MutablePackageDirectories 데스크톱 애플리케이션에서 사용자가 애플리케이션의 설치 파일(예: 모드 설치)을 수정할 수 있는 하나 이상의 폴더를 지정할 수 있도록 합니다.
CustomInstall 데스크톱 애플리케이션에서 데스크톱 애플리케이션과 함께 설치된 하나 이상의 추가 설치 관리자 파일(.exe 또는 .msi)을 지정할 수 있습니다. 예를 들어 타사 재배포 가능 구성 요소를 번들로 묶는 애플리케이션에 유용합니다.

부모 요소

부모 요소 Description
확장(형식: CT_PackageExtensions) 패키지에 대한 하나 이상의 확장성 지점을 정의합니다.

요구 사항

항목
네임스페이스 http://schemas.microsoft.com/appx/manifest/desktop/windows10/6
uap10 http://schemas.microsoft.com/appx/manifest/uap/windows10/10
Minimum OS Version Windows 10 버전 1903(빌드 18362)