File Deployment Client Installation Message When Launching Dynamics AX
When launching the Dynamics AX client after a recent Cu9 upgrade, users began receiving a File Deployment message. This message would show up one time in most environments and seem resolved. However, this message was showing up for users every time they launched AX via a published application through Citrix.
I reviewed the SysFileDeployer class in the AOT. I expanded the class and then expanded the “filesToDeploy” method. The names were easily identified as being related to one of the ISV Solutions we had implemented in our environment.
This class was being used to deploy dll files to the users’ Windows profile:
For environments in which users connected via their workstation or through a Remote Desktop connection, the error would only show up one time per user as the files would be retained within their profile. With Citrix, (based on their configuration) upon logoff, the user’s profile was being removed and the next time they launched the AX client it would prompt them to install the files again.
In our case we worked with the ISV to provide code to have these dll files written to the AX client folder instead of user profiles. The other option we considered was to write these dll files to the user profile folder each time it was created during the launch of Dynamics AX.