ACE06: Executable File Not Marked as Key File of Component
AdminStudio 2023 | 25.0 | Application Manager
Edition:This test is included in AdminStudio Professional and Enterprise Editions.
ACE06 checks whether the executable file (.exe, .dll, .ocx, .hlp, .chm, .tlb, .sys, .drv) within the component is the key file.
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 an executable module (*.chm, *.dll, *.drv, *.exe, *.hlp, *.ocx, *.sys, or *.tlb) as the key file. The current key file [NON-EXECUTABLE_FILENAME] can be replaced with [EXECUTABLE_MODULE_FILENAME].
Background
If an executable file is not the key file of its component, ACE06 fails.
Resolution
Automatic Fix (CARD06)
CARD06 automatically makes the executable file the key file of its component. To do this, CARD06 runs the following query and replaces the key path with a file entry from the File column of the File table; the file entry is associated with this component and of the correct type.
SELECT `KeyPath` FROM `Component` WHERE `
ComponentId` = 'Source ComponentId'
See Also