Hello there,
Remote Applications run on the terminal server, not on the local machine. So, even though it now looks like the app is running locally, it is still running on the terminal server. Therefore, there is no way to have a file to program association from a file on the terminal server to a program on your local system.
You can have your local disks shared with the remote system, but that doesn't mean it can execute applications. If you dig down into the bowels of the system, you will find that the association between a file type and an application is a registry key. That can only point to the system on which it is defined. So, you have to have the application installed on the terminal server.
Similar discussion here
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--