ACE25: Hard-Coded Paths for Custom Action Targets
AdminStudio 2022 | 23.0 | Application Manager
Edition:This test is included in AdminStudio Professional and Enterprise Editions.
ACE25 checks the entries in the CustomAction table to identify any hard-coded paths.
Test Group/Test Category/Test Subcategory
Best Practices/Windows Installer Best Practices/Recommended Rules
Severity
Warning
Message
The [CUSTOM_ACTION_NAME] custom action has a hard coded directory path of [TARGET_PATH] in its Target field.
Background
If a package has a hard-coded path in the Target column of the CustomAction table, ACE25 fails.
Resolution
Manual Fix
Open the package file in InstallShield Editor, and in the Target column of the CustomAction table, change any hard-coded paths to relative paths.