Share via


격리된 구성 요소 다시 설치

Windows Installer는 패키지에 격리된 구성 요소가 포함된 경우 애플리케이션을 다시 설치하는 동안 다음 작업을 수행합니다. 일반적으로 Component_Shared Component_Application 및 기타 클라이언트 실행 파일에서 공유하는 DLL입니다.

재설치

  • Component_Application도 다시 설치되는 중인 경우에만 Component_Shared 파일을 Component_Application과 같은 폴더에 다시 설치합니다.
  • Component_Shared의 클라이언트 목록을 증가시키지 않고 SharedDLL 수를 증가시키지 않아야 합니다.
  • Component_Application 키 파일의 짧은 파일 이름으로 0-바이트 파일을 다시 만듭니다. 이 파일은 Component_Application과 같은 폴더에 있어야 하며 확장명이 .LOCAL이어야 합니다.
  • Component_Application의 모든 리소스를 평소와 같이 다시 설치합니다.

Component_Shared에 대한 SharedDLL refcount가 1보다 많은 경우 또는 다른 제품이 Component_Shared의 클라이언트 목록에 남아 있는 경우:

  • Component_Shared의 공유 위치에 파일을 다시 설치하지 않습니다.

Component_Shared에 대한 SharedDLL refcount가 1과 같은 경우 또는 Component_Shared의 나머지 다른 클라이언트가 없는 경우:

  • 파일 버전 관리 규칙을 사용하여 Component_Shared의 파일을 공유 위치에 다시 설치합니다.
  • Component_Shared에 대한 모든 다시 설치 작업을 처리합니다.
  • Component_Shared가 COM 구성 요소인 경우 설치 관리자 구문 [$Component] 및 [#FileKey]가 Component_Shared의 공유 위치를 가리키도록 전체 COM 경로를 등록합니다.