ICEM12

ICEM12는 ModuleSequence 테이블에서 표준 작업에 시퀀스 번호가 있고 사용자 지정 작업에 BaseAction 및 After 값이 있음을 확인합니다.

이 ICEM은 Windows Installer 2.0 SDK 이상에서 제공하는 Mergemod.cub 파일에서 사용할 수 있습니다. 자세한 내용은 Windows Installer 개발자를 위한 Windows SDK 구성 요소를 참조하세요.

결과

ICEM12는 다음과 같은 경우에 오류를 게시합니다.

시퀀스 번호가 지정되었지만 BaseAction 또는 After 필드에 값이 없는 사용자 지정 작업을 찾으면 ICEM12가 경고를 게시합니다.

CustomAction 테이블에 있는 모든 작업은 사용자 지정 작업으로 간주됩니다. 다른 모든 작업은 표준 작업으로 간주됩니다.

ICEM12는 표시된 데이터베이스 항목을 포함하는 모듈에 대해 아래의 오류 및 경고 메시지를 게시합니다.

Error. Custom actions should use the BaseAction and After fields and not use the 
Sequence field in the Module Sequence tables. The custom action 'Action1' uses the Sequence field 
and does not use the BaseAction and After fields in the ModuleInstallExecuteSequence table. 
    
Error. Custom actions should not leave the Sequence, BaseAction, and After fields 
of the Module Sequence tables all empty. The custom action 'Action3' leaves the Sequence, 
BaseAction, and After fields empty in the ModuleAdminExecuteSequence table.

Error. Standard actions should not use the BaseAction and After fields in Module 
Sequence tables. The standard action 'Action2' has a values entered in the BaseAction 
or After fields of the ModuleAdminExecuteSequence table.

Error. Standard actions must have a entry in the Sequence field of Module Sequence 
tables. The standard action 'Action2' does not have a Sequence value in the 
ModuleExecuteSequence table.

CustomAction

작업 형식 원본 대상
작업 1 30 **source1 target1
작업 3 30 source3 target3

 

ModuleAdminExecuteSequence

작업 시퀀스 BaseAction After 조건
작업 2   작업 1 1 true
작업 3       true

 

ModuleInstallExecuteSequence

작업 시퀀스 BaseAction After 조건
작업 1 1     true

 

이러한 오류를 해결하려면 다음을 시도하세요.

  • 사용자 지정 작업 Action1의 시퀀스 번호를 제거하고 그 대신 BaseAction 및 After 필드를 사용합니다.
  • 사용자 지정 작업 Action3에 대한 Sequence, BaseAction 또는 After 필드에 값을 입력합니다. 표준 작업 Action2의 경우 BaseAction 및 After 필드를 비워 둡니다.
  • 표준 작업 Action2의 Sequence 필드는 비워 두지 않습니다.

통합 모듈 ICE 참조