ACE201: Shortcuts with Hard-Coded Paths for Targets
AdminStudio 2022 | 23.0 | Application Manager
ACE201 checks whether a target in the package has a hard-coded path, such as C:\...\, which may not be present in a virtual environment.
Test Group/Test Category
Best Practices/Microsoft App-V Best Practices
Severity
Warning
Message
Package [PACKAGE_NAME] has a shortcut named [NAME] with a hardcoded Target of [TARGET].
Background
If a shortcut in package has a hard-coded path, ACE201 fails.
Resolution
Manual Fix
To resolve this ACE in an App-V package, change the path of the target to use a variable instead of a hard-coded path.
To resolve this issue:
1. | Open the App-V package in the Virtual Package Editor. |
2. | In the View List under Application Data, click Shortcuts. |
3. | In the Targets explorer, select the target that contains the hard-coded path. |
4. | In the Target setting, replace the existing hard-coded path with a path that uses a CSIDL constant or an SFT constant—such as CSIDL_APPDATA or SFT_PROGRAM_FILES_X64. |
Note:If there is no appropriate CSIDL or SFT constant, you may need to use a hard-coded path that starts with a drive letter.