A shim, in the software world, is a thin piece of code we wedge between Windows and an application to solve compatibility problems. The following are some specific examples of Microsoft's ACT (Application Compatibility Toolkit) Shims and where they come in handy.
Once when the problem is solved using shims, these steps need to be followed:
Step 1: Do a setup capture configuration and take a snapshot, Start the capture
Step 2: add the shim to the shim database(C:\Windows\AppPatch).
Step 3: Install the source application. (Now this application will install properly as the Shims were applied)
Step 4: End the setup capture.
Step 5: Do a basic editing and deliver this application as a repackaged MSI. This MSI can be deployed across the network.
Hope this piece of information helps.