Junction Points

AdminStudio 2022 | 23.0 | Application Manager

Note:This test is not applicable to App-V packages.

For this operating system compatibility test, the Windows Installer database is scanned for the usage of changed or obsolete junction points in the following tables: CustomAction, IniFile, Registry, RemoveIniFile, ServiceControl, ServiceInstall, Shortcut, and Environment.

Test Group/Test Category

0312—Operating System Compatibility/Windows 8.1 (32-Bit)
0412—Operating System Compatibility/Windows 8.1 (64-Bit)
2812—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (32-Bit)
5212—Operating System Compatibility/Windows 10-1909 (32-Bit)
5412—Operating System Compatibility/Windows 10-2004 (32-Bit)
5612—Operating System Compatibility/Windows 10-20H2 (32-Bit)
5812—Operating System Compatibility/Windows 10-21H1 (32-Bit)
7012—Operating System Compatibility/Windows 10-21H2 (32-Bit)
2912—Operating System Compatibility/Windows 10-1809 (and 2019 LTSC) (64-Bit)
5312—Operating System Compatibility/Windows 10-1909 (64-Bit)
5512—Operating System Compatibility/Windows 10-2004 (64-Bit)
5712—Operating System Compatibility/Windows 10-20H2 (64-Bit)
5912—Operating System Compatibility/Windows 10-21H1 (64-Bit)
7112—Operating System Compatibility/Windows 10-21H2 (64-Bit)
6712—Operating System Compatibility/Windows 11-21H2 (64-Bit)
0512—Operating System Compatibility/Windows Server 2012
0612—Operating System Compatibility/Windows Server 2016
1012—Operating System Compatibility/Windows Server 2019

Severity

Warning

Messages

This Windows Installer database contains a custom action [CUSTOM_ACTION_NAME] with a hard-coded path "[CUSTOM_ACTION_TARGET]" (Table: CustomAction, Key: [CUSTOM_ACTION_KEY]).
This Windows Installer database contains a hard-coded path "[INI_FILE_VALUE]" in INI entry (Table: IniFile, Key: [INIFILE_KEY]).
This Windows Installer database contains a hard-coded path "[REGISTRY_VALUE]" in registry value "[REGISTRY_KEY]" (Table: Registry, Key: [REGISTRY_VALUE]).
This Windows Installer database contains a hard-coded path "[REMOVEINIFILE_VALUE]" in table RemoveIniFile (Table: RemoveIniFile, Key: [REMOVEINIFILE_KEY]).
This Windows Installer database contains a hard-coded path "[SERVICEINSTALL_ARGUMENTS]" in arguments of installed service [SERVICE_DISPLAY_NAME] (Table: ServiceInstall, Key: [SERVICEINSTALL_KEY]).
This Windows Installer database contains a hard-coded path "[SERVICECONTROL_ARGUMENTS]" in arguments of controlled service [SERVICE_CONTROL_DISPLAY_NAME] (Table: ServiceControl, Key: [SERVICECONTROL_KEY]).
This Windows Installer database contains a hard-coded path "[ENVIRONMENT_VALUE]" in environment variable [ENVIRONMENT_NAME] (Table: Environment, Key: [ENVIRONMENT_KEY]).
This Windows Installer database contains a hard-coded path [SHORTCUT_ARGUMENTS] in arguments of shortcut [SHORTCUT_NAME] (Table: Shortcut, Key: [SHORTCUT_KEY]).

Background

Beginning with Windows Vista, the default locations for user and system data have changed. For example, user data that was previously stored in the %SystemDrive%\Documents and Settings directory is now stored in the %SystemDrive%\Users directory. For backward compatibility, the old locations have junction points that point to the new locations. For example, C:\Documents and Settings is now a junction point that refers to C:\Users.

Resolution

The following resolutions are available.

Manual Fix

Changed or obsolete junction points should be replaced with the appropriate Windows Installer property.

Basic Auto Fix

Changed or obsolete junction points are replaced with the appropriate Windows Installer properties in a Windows Installer transform.

This fix is enabled by default.

Advanced Auto Fix

No resolution is available.

See Also