Since with Typemock you have several ways of test run, there are different ways to install it depending on your server:
To run on TFS Update 2 and higher or on VSTS
To run on the build agents with administrator priviliges on the server
To run on the build agents that do not have administrator privileges
See Manual Installation.
No matter how you run the tests, follow the Best Practices to configure Typemock references correctly for your test project.