ICEM12
ICEM12는 ModuleSequence 테이블에서 표준 작업에 시퀀스 번호가 있고 사용자 지정 작업에 BaseAction 및 After 값이 있음을 확인합니다.
이 ICEM은 Windows Installer 2.0 SDK 이상에서 제공하는 Mergemod.cub 파일에서 사용할 수 있습니다. 자세한 내용은 Windows 설치 관리자 개발자용 Windows SDK 구성 요소 참조하세요.
결과
ICEM12는 다음과 같은 경우에 오류를 게시합니다.
- 모듈에 시퀀스 번호가 없는 표준 작업 포함되어 있는 것을 발견합니다.
- 표준 작업에 ModuleAdminUISequence 테이블, ModuleAdminExecuteSeSequence 테이블, 의 BaseAction 또는 After 필드에 입력된 값이 있음을 발견합니다. ModuleAdvtExecuteSequence 테이블, ModuleInstallUISequence 테이블또는 moduleInstallExecuteSequence 테이블 .
- 시퀀스에 값을 입력하지 않고 모듈에 사용자 지정 작업 포함됨을 찾습니다. ModuleAdminUISequence 테이블, ModuleAdminExecuteSeSequence 테이블, ModuleAdvtExecuteSeSequence 테이블, ModuleInstallUISequence 테이블또는 ModuleInstallExecuteSequence 테이블.
ICEM12는 시퀀스 번호가 지정되었지만 BaseAction 또는 After 필드에 값이 없는 사용자 지정 작업을 찾으면 경고를 게시합니다.
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.
행동 | 형 | 근원 | 과녁 |
---|---|---|---|
Action1 | 30 | source1 | target1 |
Action3 | 30 | source3 | target3 |
행동 | 순서 | BaseAction | 후 | 조건 |
---|---|---|---|---|
Action2 | Action1 | 1 | 참 | |
Action3 | 참 |
행동 | 순서 | BaseAction | 후 | 조건 |
---|---|---|---|---|
Action1 | 1 | 참 |
이러한 오류를 해결하려면 다음을 시도합니다.
- 사용자 지정 작업 Action1의 시퀀스 번호를 제거하고 BaseAction 및 After 필드를 대신 사용합니다.
- 사용자 지정 작업 Action3의 시퀀스, BaseAction 또는 After 필드에 값을 입력합니다. 표준 작업 Action2의 경우 BaseAction 및 After 필드를 비워 둡니다.
- 표준 작업 Action2의 시퀀스 필드를 비워 두지 마세요.
관련 항목
-
모듈 ICE 참조 병합