MATLAB: What are the possible reasons that a silent installation of the MATLAB Compiler Runtime 7.10 (R2009a) might fail

MATLAB Compiler

I am deploying an application that silently installs the MCR on a deployment machine. I find during testing that the installation process fails when .NET Framework 2.0 is not installed, but no indication is given for the reason for failure. Missing the Framework does not impact my code, and I researched how to determine when the user does not have this so I can issue a warning and exit.
I would like to be able to verify that all preconditions are satisfied for the successful silent installation of the MCR, or else issue an error message and exit from my setup program or script.

Best Answer

The required pre-conditions for a successul silent MCR installation are:
1) The user must have administrative rights.
2) The user must have .NET Framework 2.0 or later installed.
3) The user must not be installing to a network drive, or the .NET will not allow registration of assemblies since it breaks security. The files will be written but the necessary post-install procedures will not be completed successfully.
4) The user must have sufficient disk space for the entire MCR installation.