ACE05: More Than One Executable File Per Component
AdminStudio 2022 | 23.0 | Application Manager
Edition:This test is included in AdminStudio Professional and Enterprise Editions.
ACE05 checks for the existence of more than one executable file (.exe, .dll, .ocx, .hlp, .chm, .tlb, .sys, .drv) per component in a Windows Installer package.
Test Group/Test Category/Test Subcategory
Best Practices/Windows Installer Best Practices/Components
Severity
Error
Message
The component [COMPONENT1] in the package [PACKAGE1] has more than one executable module (*.chm, *.dll, *.drv, *.exe, *.hlp, *.ocx, *.sys, or *.tlb). The file [EXECUTABLE_MODULE_FILENAME] must be included as a separate component.
Background
If more than one executable file (.exe, .dll, .ocx, .hlp, .chm, .tlb, .sys, .drv) exists in a component, ACE05 fails.
Resolution
Automatic Fix (CARD05)
CARD05 automatically modifies the component so that only one .exe or .dll exists, and it adds new components for remaining .exe, .dll, .ocx, .hlp, .chm, .tlb, .sys, and .drv files. To do this, CARD05 generates a new component name and ComponentId and inserts a record in the Component table and in the FeatureComponents table. The relevant entry in the File table is then updated to effectively move the file into the new component.
See Also