ACE02: Identical Components with Different Destinations
AdminStudio 2022 | 23.0 | Application Manager
Edition:This test is included in the AdminStudio Professional and Enterprise Editions.
ACE02 checks whether components in different packages that have matching ComponentId values also have identical destination paths.
Test Group/Test Category
Application Conflicts/Package Data Conflicts/Components
Severity
Warning
Message
The destination [PATH1] for the component [COMPONENT1] in the package [PACKAGE1] conflicts with the destination for the component [COMPONENT1] in the package [PACKAGE2]. The correct destination should be [PATH2].
Background
If components with the same ComponentId have different destination paths, ACE02 fails.
Resolution
Automatic Fix (CARD02)
CARD02 automatically sets the destination path of the component in the source package to match that of the component in the target package. To do this, CARD02 runs the following query and replaces the Directory_ column with a run-time translation of the target’s component (csFullPath) path:
MsiDBUtils::GetDirectoryTargetPathKey.
SELECT `Directory_` FROM `Component`
WHERE ComponentId='Source ComponentId'
See Also