deployment:Extension(패키지/확장)

DEH(도킹 해제된 배포 확장 처리기)를 지정하는 앱의 확장성 지점을 선언합니다.

요소 계층 구조

<패키지>

    <애플리케이션>

         <애플리케이션>

              <확장>

                   <deployment:Extension>

Syntax

<deployment:Extension 
  Category = 'A string that can have one of the following values: "windows.deploymentExtensionHandler".'
  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.' 
  uap11:Id = 'An optional string with a value between 1 and 255 characters in length with a non-whitespace character at its beginning and end.'
  uap11:Subsystem = 'An optional string that can have one of the following values: "console" or "windows".'
  uap11:SupportsMultipleInstances = 'An optional boolean value.'
  uap11:ResourceGroup = 'An optional alphanumeric string with a value between 1 and 255 characters in length. Must begin with a letter.'
  uap11:CurrentDirectoryPath = 'An optional string that cannot contain these characters: <, >, |, ?, or *. >'
  uap11:Parameters = 'An optional string with a value between 1 and 32767 characters in length with a non-whitespace character at its beginning and end.'
  desktop7:CompatMode = 'An optional string the can have one of the following values: "classic" or "modern".'
  desktop7:Scope = 'An optional string that can have one of the following values: "machine" or "user".' >

  <!-- Child elements -->
  deployment:DeploymentExtensionHandler?

</deployment:Extension>

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

특성 및 요소

특성

attribute Description 데이터 형식 필수 기본값
범주 확장의 범주입니다. windows.fileExplorerClassicContextMenuHandler 또는 windows.fileExplorerClassicDragDropContextMenuHandler 값 중 하나를 가질 수 있는 문자열입니다. 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
uap11:Id 확장의 식별자입니다. ID는 패키지의 모든 확장에 대해 고유해야 합니다. 시작과 끝에 공백이 아닌 문자가 있는 길이가 1~255자인 선택적 문자열입니다. No
uap11:하위 시스템 이 특성은 기본 확장 구문에서 상속되며 com4 확장에는 적용되지 않습니다. 구문 유효성 검사 외에 이 값은 무시됩니다. 콘솔 또는 값 중 하나를 가질 수 있는 선택적 문자열입니다. No
uap11:SupportsMultipleInstances 인스턴스가 다른 프로세스에서 실행되어야 하는지 여부를 지정합니다. 기본값은 false입니다. 선택적 부울 값입니다. No
uap11:ResourceGroup 리소스 관리 목적(예: CPU 및 메모리)을 위해 확장 활성화를 그룹화하는 데 사용할 수 있는 태그입니다. ResourceGroup을 설정할 수 있는 값은 자유 형식이며 유연합니다. Application@ResourceGroup 참조하세요. 길이가 1~255자인 선택적 영숫자 문자열입니다. 문자로 시작해야 합니다. No
uap11:CurrentDirectoryPath 애플리케이션 프로세스가 시작될 때 초기 디렉터리를 지정합니다. 이 특성은 매크로를 지원합니다. 자세한 내용은 패키지 매니페스트 스키마의 매크로를 참조하세요. , ?>|또는 *문자를 <포함할 수 없는 선택적 문자열입니다. > No
uap11:Parameters 이 특성은 기본 확장 구문에서 상속되며 com4 확장에는 적용되지 않습니다. 구문 유효성 검사 외에 이 값은 무시됩니다. 이 특성은 매크로를 지원합니다. 자세한 내용은 패키지 매니페스트 스키마의 매크로를 참조하세요. 시작과 끝에 공백이 아닌 문자가 있는 길이가 1~32767자인 선택적 문자열입니다. No
desktop7:CompatMode 이 확장의 정보가 클래식 방식으로 Windows에 등록되는지(예: 패키지되지 않은 앱이 레지스트리를 통해 COM에 형식을 등록하는지) 또는 좀 더 범위가 지정된 새로운 방식으로 등록할지를 지정합니다. 기본값은 "최신"입니다. CompatMode="classic"에는 Microsoft.classicAppCompat_8wekyb3d8bbwe 기능이 필요합니다. 선택적 문자열은 클래식 또는 최신 값 중 하나를 가질 수 있습니다. No
desktop7:Scope 이 패키지가 등록된 사용자(사용자)로 실행되는 다른 애플리케이션에만 등록이 표시되는지 또는 컴퓨터(컴퓨터)의 모든 사용자 및 서비스에 표시되는지 여부를 지정합니다. 기본값은 "user"입니다. Scope="machine"에는 Microsoft.classicAppCompatElevated_8wekyb3d8bbwe 기능이 필요합니다. 컴퓨터 또는 사용자 값 중 하나를 가질 수 있는 선택적 문자열입니다. No

자식 요소

자식 요소 Description
DeploymentExtensionHandler 앱에서 OS 릴리스 외부에서 제공되는 DEH 기능을 제공하는 하나 이상의 DLL 파일을 지정할 수 있습니다.

부모 요소

부모 요소 Description
확장 앱에 대한 확장성 지점을 하나 이상 정의합니다.

설명

DEH를 사용하면 앱이 OS의 확장성 지점에 액세스할 수 있습니다. 도킹되지 않은 DEH는 OS 릴리스 외부에서 제공되는 DEH입니다. 이 확장은 타사 개발자가 사용하기 위한 것이 아닙니다.

예제

다음 예제에서는 패키지 매니페스트 파일 내에서 DeploymentExtensionHandler 요소를 사용하여 도킹 해제된 DEH를 등록하는 방법을 보여 줍니다.

<Extension Category=”windows.deploymentExtensionHandler”> 
  <DeploymentExtensionHandler> 
    <Files> 
      <File>path/to/UndockedDEH.dll </File> 
      <File>path/to/UndockedDEH2.dll </File> 
    </Files> 
  </DeploymentExtensionHandler> 
</Extension> 

요구 사항

항목
네임스페이스 http://schemas.microsoft.com/appx/manifest/deployment/windows10
uap10 http://schemas.microsoft.com/appx/manifest/uap/windows10/10
uap11 http://schemas.microsoft.com/appx/manifest/uap/windows10/11
desktop7 http://schemas.microsoft.com/appx/manifest/desktop/windows10/7
Minimum OS Version Windows 10(빌드 20348)