WTS05: Per-User Environment Variables
AdminStudio 2023 | 25.0 | Application Manager
Edition:This test is included in AdminStudio Professional and Enterprise Editions.
WTS05 checks whether any environment variables in the package are configured to be installed for the current user. In general, Windows Remote Desktop Services require environment settings to be installed for all users.
Note:If your package is not targeting the Windows Remote Desktop Services environment, you do not need to run this ACE.
Test Group/Test Category
Remote Application Publishing Compatibility/Remote Desktop Services Tests
Severity
Warning
Message
The component '[COMPONENT]' in package '[PACKAGE_NAME]' has a per-user Environment Setting '[NAME]'('[VALUE]'). This value affects deployment of this package in a terminal server environment.
Background
WTS05 examines a Windows Installer package for compatibility with Windows Remote Desktop Services. Windows Remote Desktop Services generally require environment variables to be installed for all users, rather than on a per-user basis. If the package contains one or more environment variables that are configured to be installed per user, WTS05 fails.
Resolution
Manual Fix
Duplicate the per-user Environment table entries and conditionalize the component that contains these new Environment table entries to be installed only if the ALLUSERS property is set to 1 for all users.