ACE04: Components Without Files or Key Paths

AdminStudio 2022 | 23.0 | Application Manager

Edition:This test is included in AdminStudio Professional and Enterprise Editions.

ACE04 verifies that components with no files and no key paths have an associated entry in the CreateFolder table according to Windows Installer best practices.

Test Group/Test Category/Test Subcategory

Best Practices/Windows Installer Best Practices/Components

Severity

Error

Message

The component [COMPONENT1] in the package [PACKAGE1] does not have a key file, a key path, or an associated entry in the CreateFolder table.

Background

ACE04 is designed to identify and fix the same issue that ICE18 detects. It flags components that have an empty KeyPath column, that do not have any files, and that also do not have associated entries in the RemoveFile, DuplicateFile, and MoveFile tables.

Resolution

Automatic Fix (CARD04)

CARD04 creates a CreateFolder table entry for the component by executing the following query:

INSERT INTO CreateFolder ( `Directory_`, `Component_` )

     VALUES ('Source Directory','Source Component')

See Also